Re: logging.handlers.SMTPHandler question

2009-09-30 Thread Chris Withers
akonsu wrote: hello, SMTPHAndler seems to email every single record separately. is there a way to collect all log output and then send it in a single email message? or do i have to do it manually? You want the SummarisingHandler from this package:

Re: logging.handlers.SMTPHandler question

2009-09-24 Thread Vinay Sajip
On Sep 24, 4:14 am, akonsu ako...@gmail.com wrote: hello, SMTPHAndler seems to email every single record separately. is there a way to collect all log output and then send it in a single email message? or do i have to do it manually? You can use a buffering SMTP handler, see:

Re: logging.handlers.SMTPHandler question

2009-09-24 Thread Vinay Sajip
On Sep 24, 8:37 am, Vinay Sajip vinay_sa...@yahoo.co.uk wrote: On Sep 24, 4:14 am, akonsu ako...@gmail.com wrote: http://python.pinger.pl/m/552751/bufferingsmtphandler Looking back at it, it looks as if it's adapted from some test code I wrote back in 2002, see here:

Re: logging.handlers.SMTPHandler question

2009-09-24 Thread Vinay Sajip
On Sep 24, 4:14 am, akonsu ako...@gmail.com wrote: hello, SMTPHAndler seems to email every single record separately. is there a way to collect all log output and then send it in a single email message? or do i have to do it manually? thanks konstantin See also

logging.handlers.SMTPHandler question

2009-09-23 Thread akonsu
hello, SMTPHAndler seems to email every single record separately. is there a way to collect all log output and then send it in a single email message? or do i have to do it manually? thanks konstantin -- http://mail.python.org/mailman/listinfo/python-list