[Zope-Coders] new zLOG
Toby Dickenson
tdickenson@geminidataloggers.com
Tue, 26 Nov 2002 10:12:31 +0000
On Monday 25 November 2002 4:32 pm, Chris McDonough wrote:
> On Mon, 2002-11-25 at 11:11, Toby Dickenson wrote:
> Having an import have the side effect of writing a file causes problems
> when you have a process which needs to setuid after importing zLOG as
> root. The log file is written as root (which it shouldn't be) and the
> effective user is only able to write to the log for as long as the file
> stays open. Suggestions?
Probably not some helpful ones:
1. Give the 'stupid log file' its proper name back. This is another reaso=
n why=20
writing to a file is a stupid way to do event logging.
2. Accept that Zope currently gives up root privelidges far too late. Thi=
s is=20
a bug with the privelidge dropping, not with the logging. Even worse, Zop=
e=20
currently writes a few ZODB transactions as root too.