[Zope-Coders] Zope 2.7: logging to stdout

Chris McDonough chrism@zope.com
18 Apr 2003 11:22:49 -0400


On Fri, 2003-04-18 at 11:10, Andreas Jung wrote:
> First, congratulations for the new configuration stuff in Zope 2.7. The 
> complete thing looks
> much more professional now and the ZConfig package is a big win.

Thanks for the feedback...

> My minor problem: how can re-enable the old-style-logging-to-stdout mode? 
> At least
> for development I prefer to see zLOG messages on the console instead of 
> running
> tail -f on the event logfile.

I want to make this easier with a simple command line option, but for
now, change the zope.conf config file's eventlog section to look like
this:

<eventlog>
  level all
  <logfile>
    path STDOUT
    level all
  </logfile>
</eventlog>

- C