Metadata-Version: 2.1
Name: zconfig_watchedfile
Version: 1.2
Summary: ZConfig statement to register a logging handler using WatchedFileHandler
Home-page: https://github.com/gocept/zconfig_watchedfile
Author: gocept <mail@gocept.com>
Author-email: mail@gocept.com
License: ZPL 2.1
Description: ===================
        zconfig_watchedfile
        ===================
        
        Provides a ZConfig statement to register a logging handler that uses a
        `WatchedFileHandler`_, which is helpful for integrating with an external
        logrotate service::
        
            %import zconfig_watchedfile
            <logger>
              name example
        
              <watchedfile>
                path /path/to/logfile.log
              </watchedfile>
            </logger>
        
        The ``<watchedfile>`` supports both the default ZConfig settings for handlers
        (formatter, dateformat, level) and the parameters of `WatchedFileHandler`_
        (mode, encoding, delay).
        
        This package is compatible with Python version 2.7, 3.7 and 3.8.
        
        .. _`WatchedFileHandler`: http://docs.python.org/2/library/logging.handlers.html#watchedfilehandler
        
        
        ==================================
        Change log for zconfig_watchedfile
        ==================================
        
        1.2 (2019-12-04)
        ================
        
        - Migrated to github.
        
        - Add support for Python 3.7 and 3.8.
        
        
        1.1 (2019-01-25)
        ================
        
        - Make `setup.py` compatible with newer `setuptools` versions.
        
        - Drop support for Python 2.6.
        
        
        1.0 (2013-11-29)
        ================
        
        - initial release
        
Keywords: ZConfig WatchedFileHandler logging handler
Platform: UNKNOWN
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Development Status :: 5 - Production/Stable
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Provides-Extra: test
