logging.handlers.SMTPHandler and fileConfig

Chris Withers chris at simplistix.co.uk
Mon Oct 11 19:29:07 CEST 2010


On 11/10/2010 15:52, pstatham wrote:
> I'm trying to use pythons logging.handlers.SMTPHandler with a
> configuration file (so that I don't have to have passwords etc. inside
> of the script)

Use MailingLogger and ZConfig ;-)

http://groups.google.com/group/simplistix/browse_thread/thread/f4223c3a92e9b6cd

cheers,

Chris




More information about the Python-list mailing list