Skip to main content

ZConfig statement to register a logging handler using WatchedFileHandler

Project description


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
  name example

    path /path/to/logfile.log

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.

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 compatible with newer setuptools versions.
  • Drop support for Python 2.6.

1.0 (2013-11-29)

  • 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.

Files for zconfig-watchedfile, version 1.2
Filename, size File type Python version Upload date Hashes
Filename, size zconfig_watchedfile-1.2-py2.py3-none-any.whl (5.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size zconfig_watchedfile-1.2.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page