Metadata-Version: 1.1
Name: gocept.logging
Version: 0.1
Summary: UNKNOWN
Home-page: https://bitbucket.org/gocept/gocept.logging/
Author: gocept <mail@gocept.com>
Author-email: mail@gocept.com
License: ZPL 2.1
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:
            `gocept <http://gocept.com/>`_ <mail@gocept.com>
        
        :Online documentation:
            http://pythonhosted.org/gocept.logging/
        
        :PyPI page:
            http://pypi.python.org/pypi/gocept.logging/
        
        :Issues:
            `report by e-mail <mail@gocept.com>`_
        
        :Source code:
            https://bitbucket.org/gocept/gocept.logging/
        
        :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
        
Platform: UNKNOWN
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
