[Zope] Error logging

Dieter Maurer dieter at handshake.de
Fri Sep 26 13:54:41 EDT 2003


Andreas Tille wrote at 2003-9-26 09:13 +0200:
 > today I had to deal with an access error and wanted to write a little cron
 > job which informs me via mail that something was wrong at my Zope site.
 > I do so for apache and did not expect any problem her but this seemed naive ...
 > 
 > The only documentation I was able to find about writing error logs in Zope
 > was
 > 
 >        http://www.zope.org/Documentation/Misc/LOGGING.txt

The document "LOGGING.txt" in the directory "doc" of your
Zope distribution may be a better resource ("Debian" may have
put the "doc" directory somewhere else).

 > ...
 >      Creating your own Zope logger is easy.  Simply define a logger class
 >      with the following interface:
 >      ...

You find this, too, in "doc/LOGGING.txt". However, read the easy part
and skip the difficult one ;-)


Dieter



More information about the Zope mailing list