UNKNOWN
Project description
The gocept.logging distribution
This package is compatible with Python version 2.7 and 3.3.
Setup with ini file
[loggers] keys = root [handlers] keys = console, syslog [formatters] keys = generic, keyvalue [logger_root] level = INFO handlers = console, syslog [handler_console] class = StreamHandler args = (sys.stderr,) level = NOTSET formatter = generic [formatter_generic] format = %(asctime)s %(levelname)-5.5s %(name)s: %(message)s [handler_syslog] class = logging.handlers.SysLogHandler args = () formatter = keyvalue [formatter_keyvalue] class = gocept.logging.SyslogKeyValueFormatter
Setup with ZConfig
<eventlog> <logfile> formatter zope.exceptions.log.Formatter format %(asctime)s %(levelname)-5.5s %(name)s: %(message)s path STDOUT </logfile> <syslog> formatter gocept.logging.SyslogKeyValueFormatter </syslog> </eventlog>
Corresponding syslog configuration
rsyslog:
$EscapeControlCharactersOnReceive off $MaxMessageSize 64k user.* @localhost:5140
Developing gocept.logging
- Author:
- Online documentation:
- PyPI page:
- Issues:
- Source code:
- Current change log:
https://bitbucket.org/gocept/gocept.logging/raw-file/tip/CHANGES.txt
Change log for gocept.logging
0.1 (2013-08-16)
initial release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gocept.logging-0.1.zip
(15.6 kB
view hashes)