Skip to main content

UNKNOWN

Project 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.6 and 2.7.

Change log for zconfig_watchedfile

1.0 (2013-11-29)

initial release

Project details


Release history Release notifications

This version
History Node

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
zconfig_watchedfile-1.0.zip (12.2 kB) Copy SHA256 hash SHA256 Source None Nov 29, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page