Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

pypm install ulif.loghandlers

How to install ulif.loghandlers

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install ulif.loghandlers
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.1.1Never BuiltWhy not?
0.1 Available View build log
Windows (64-bit)
0.1.1Never BuiltWhy not?
0.1 Available View build log
Mac OS X (10.5+)
0.1.1Never BuiltWhy not?
0.1 Available View build log
Linux (32-bit)
0.1.1 Available View build log
0.1 Available View build log
Linux (64-bit)
0.1.1 Available View build log
0.1 Available View build log
Lastest release
version 0.1.1 on Nov 26th, 2012

This package provides additional loghandlers for use with the Python standardlib logging module.

Currently, only one additional logging handler is provided, which manages log file rotation based on Cron-like settings. So you can tell to rotate the logs at every day, week, month, or similar. Different to the logging.handlers.TimedRotatingFileHandler you can expect the rotation to happen at beginning of intervals.

For instance, if you start daily logging with logging.handlers.TimedRotatingFileHandler at 11:12h, a rollover will happen at 11:12h on the next day. With ulif.loghandlers.DatedRotatingFileHandler the rollover will instead happen at midnight, regardless of when you started the logging.

Furthermore you can let the number of backup files increase indefinitely by passing backupCount = -1.

Please note, that this package is still in a very early state and changes, also to the API, are likely to happen in near future.

Comments and patches are welcome. Please send these to uli at gnufix dot de.


Python2.6, 2.7 only!

The package is currently usable with Python 2.6 and 2.7 only! Please drop me a line if you need it for other versions.


The package can be installed by:

$ pip install ulif.loghandlers

Afterwards you can use ulif.loghandlers in your Python programmes. See the documentation for details.

0.1.1 (2012-07-04)
  • Fixed bug: second rollover did not rename files correctly if backupCount was set to -1.
0.1 (2012-05-22)

Initial implementation.


Subscribe to package updates

Last updated Nov 26th, 2012

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.