Re: No output from zLOG.LOG on console window

Clemens Klein-Robbenhaar <crobbenhaar-S0/[email protected]>
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
Hi Sam,

[...]
> Is there a way to have my message on both, console and 
> logfile?

I do not know if it works for you, but defining a separate
"logfile" with the special path "STDERR" in the zope.conf
helped to get the stuff logged to the console for me; however
I did testing with "./bin/runzope" under linux.

My "eventlogger" section in zope.conf looks like:

<eventlog>
   level all
   <logfile>
     path $INSTANCE/log/event.log
     level info
   </logfile>
   <logfile>
      path STDERR
      level debug
   </logfile>
</eventlog>

If I run Zope via "zopectl" the output seems to go
nowhere, however. (well, except of the usual logfile)

Hope it helps anyway,
Clemens
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.