[Zope] steering Zserver startup messages to syslog?

marc lindahl marc@bowery.com
Thu, 20 Sep 2001 17:46:12 -0400


> From: Dieter Maurer <dieter@handshake.de>
> Date: Thu, 20 Sep 2001 22:20:23 +0200 (CEST)
> To: marc lindahl <marc@bowery.com>
> Cc: <theotiwii@earthlink.net>, <zope@zope.org>
> Subject: Re: [Zope] steering Zserver startup messages to syslog?
> 
> marc lindahl writes:
>> Anyone out there using syslog with Zserver/Medusa?
> I do and have no problems "/dev/log" accessibility.
> 
> Reading the "syslogd" man page, I see that (under Linux)
> "/dev/log" should be a Unix domain socket from where
> "syslogd" reads log messages.
> 
> It may help to delete "/dev/log" and let it recreate by
> a restart of "syslogd".

Hmmm... for permission reasons?  Because other services are logging just
fine.
 
This is the error I got when calling start -M /dev/log :

2001-09-19T18:12:29 PANIC(300) z2 Startup exception
Traceback (innermost last):
  File /usr/local/zope/Zope-2.3.3/z2.py, line 563, in ?
  File /usr/local/zope/Zope-2.3.3/ZServer/DebugLogger.py, line 114, in
__init__
IOError: [Errno 6] No such device or address: '/dev/log'