Cheers! It works. However, here on windows it took my some time to realize how to set those enviroment variables. The lines you suggest in the README are supposed to go BEFORE the python ..z2.py ... line Well well, me and computers :)
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