[Zope] Re: Error logging

Andreas Tille tillea at rki.de
Wed Oct 1 10:00:53 EDT 2003


On Fri, 26 Sep 2003, Dieter Maurer wrote:

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

      export EVENT_LOG_FILE=/var/log/zope/error.log

should help.

  # Zope's event logger is controlled by the "EVENT_LOG_FILE" environment
  # variable.  If you don't have a "EVENT_LOG_FILE" environment variable
  # (or its older alias "STUPID_LOG_FILE") set, Zope will log to the standard
  # output.  For more information on EVENT_LOG_FILE, see doc/ENVIRONMENT.txt.

Funny enough I use STUPID_LOG_FILE for a long time but did not regarded this
as an error.log file as I know it from apache.  Is there any chance to reduce
the verbosity just to one line per entry for more easy parsing (well, I'm
comfortable with grep but it's pure a waste of diskspace).

I've found, that it should be able to customize the log via

       EVENT_LOG_FORMAT

variable but I did not found any information *how* this can be done.  It
smells like my friend here.

Kind regards

        Andreas.



More information about the Zope mailing list