[Zope] stupid_log file error

Dieter Maurer dieter at handshake.de
Fri Dec 12 14:42:22 EST 2003


Mike Doanh Tran wrote at 2003-12-11 10:16 -0700:
> ...
>  File /var/zope/lib/python/ZLogger/stupidFileLogger.py, line 27, in __call__
>  File /var/zope/lib/python/ZLogger/stupidFileLogger.py, line 79, in 
>stupid_log_write
>IOError: [Errno 5] Input/output error

This looks like you started Zope in a terminal session and
then terminated the session. This closes the "stderr" file
descriptor. Later, when Zope wants to log something, you
get the exception above.

Advice: turn on Zope logging (--> "doc/LOGGING.txt")
and give it a standard file to log to.
If you are not interested in logging (not recommeded!),
then use "/dev/null" as log file.

-- 
Dieter



More information about the Zope mailing list