Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Announce

MailingLogger 3.3.0 Released!



Zope announce RSS feed   Index | Next | Previous | View Threaded

chris at simplistix

Jun 19, 2009, 12:56 AM

Post #1 of 1 (1343 views)
MailingLogger 3.3.0 Released!

I'm pleased to announce a new release of Mailinglogger.

Mailinglogger provides two handlers for the standard python
logging framework that enable log entries to be emailed either as the
entries are logged or as a summary at the end of the running process.

The handlers have the following features:

- customisable and dynamic subject lines for emails sent

- emails sent with an X-Mailer header for easy filtering

- flood protection to ensure the number of emails sent is not excessive

- support for SMTP servers that require authentication

- fully documented and tested

In addition, extra support is provided for configuring the handlers when
using ZConfig, Zope 2 or Zope 3.

The latest releases of ZConfig, in particular, provide a great way to
configure the python logging framework without having to resort to the
appalling .ini-based configuration stuff:

>>> from ZConfig import configureLoggers
>>> configureLoggers('''
... <logger>
... level INFO
... <logfile>
... format %(levelname)s %(name)s %(message)s
... </logfile>
... </logger>
... ''')

This release of MailingLogger adds the ability to use %(levelname)s in
subject-line formatting for SummarisingLoggers to include the highest
level logged.

For more information, please see:



Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk

Zope-Announce maillist - Zope-Announce [at] zope

Zope-Announce for Announcements only - no discussions

(Related lists -
Users: http://mail.zope.org/mailman/listinfo/zope
Developers: http://mail.zope.org/mailman/listinfo/zope-dev )

Zope announce RSS feed   Index | Next | Previous | View Threaded

Interested in having your list archived? Contact Gossamer Threads
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.