Logging Handler With Buffering And Uses Amazon SES For Python


This Python logging handler can be used to combine multiple log message in one email message and send the log email using Amazon SES. Boto is used to send email using Amazon SES.



Email will be send once the buffer reaches the capacity you've specified. To force send the email before it reaches the buffer capacity you can shutdown the logger by calling its shutdown method.You can simultaneously keep logging in file or other places by adding more handler.

Comments

Popular posts from this blog

Perm Root HTC Desire Gingerbread 2.3.3

[Solved] invalid partition table on /dev/sda -- wrong signature 0.

Essential adb Command Examples