Get Started Now

Python logging customizations

The log alternative (to print)

As an alternative to dumping to the cli for debugging and event notifications, Sean Gillies has a write-up about tweaking the log output to do some of the following.

Log messages can be sent to single files on disk, rotating log files, sent to SMTP servers — you could probably even create your own XMPP handler.

But some of the best work in the post occurs in the comments…

  • Share/Bookmark

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>