[Zope] MailingLogger 1.0.1 Released!
Chris Withers
chrisw@nipltd.com
Wed, 22 Aug 2001 20:15:22 -0400
> > This plugin module will mail important log messages from the Zope
logging
> system
> > to an address you specify.
>
> Cheers for the product!
No worries...
> However, I haven't seen it doing anything yet.
> My severity level is on 0, but still no mail or barking in stdout.
Well, check your STUPID_LOG_FILE and if there are entries in there that you
would expect to see mails about then something's not working right.
Be aware that the MailingLogger catches all internal exceptions (such as
failed mail delivery) because not doing so would kill Zope and that would be
really bad ;-)
> How can I test that it's there, because it might, but there's never
anything
> to email about?
Do something that generates a PANIC log message in an external method:
from zLOG import LOG,PANIC
LOG('Test',PANIC,'Something bad happened')
cheers,
Chris