[Zope] Problem with Zen's Logger product ...
Darran Edmundson
dee124@rsphy1.anu.edu.au
Thu, 13 Jan 100 13:30:51 +1100 (EST)
I just installed Zen's Logger product but am not seeing any
messages in pcgi.log. The product is installed correctly
(untar'd in Zope-dir, all file permissions set properly, shows
up in Control Panel|Products). I then added a few
<dtml-log>log this</dtml-log> tags to check that the product
works but nothing appears in my pcgi.log file. I began
to wonder if logging is working at all? The only messages
that appear are on shutdown, e.g.,
Thu Jan 13 13:18:33 2000 unable to publish module
This is with Zope under Apache installed on a DEC system (OSF1v4):
Zope version: Zope 2.1.0 (source release, python 1.5.2, linux2)
Python version: 1.5.2 (#1, Aug 10 1999, 10:11:16) [C]
Permissions for the var directory and contained files are:
drwxrwxrwx 3 www124 100 512 Jan 13 13:20 var
-rw-rw-rw- 1 www124 100 78216229 Jan 13 13:17 Data.fs
-rw-r--r-- 1 nobody 100 62215 Jan 13 13:18 Data.fs.index
-rw-r--r-- 1 nobody 100 5 Jan 13 13:20 Data.fs.lock
-rw-r--r-- 1 nobody 100 0 Jan 13 13:20 Data.fs.tmp
drwxrwxrwx 3 www124 100 512 Dec 20 12:58 gadfly
-rw-rw-rw- 1 www124 100 102 Jan 13 13:18 pcgi.log
-rw-r--r-- 1 nobody 100 5 Jan 13 13:20 pcgi.pid
srwxrwxrwx 1 nobody 100 0 Jan 13 13:20 pcgi.soc
(An aside, surely these go+w permissions on Data.fs and var are
dangerous in terms of a local user destroying my ZODB?). Can
I somehow test Zope logging from the python command line by
importing Zope and calling a logging function directly?
As always, any help is much appreciated.
Cheers,
Darran.