[Zope-Coders] new zLOG

Ken Manheimer klm@zope.com
Tue, 26 Nov 2002 14:52:04 -0500 (EST)


On Tue, 26 Nov 2002, Casey Duncan wrote:

> This probably qualifies as a "DUH" question, but why can't you just specify 
> the uid to the logger when it is initialized (trick question, eh?). If you 
> are running as root it will just do a chown on the file to the uid
> specified.

This may be assumed, but i think only root can change the ownership of
a file (not sure, but 'man fchown' seems to confirm), so such a zLog
option would only be usable when the logger is called by a
root/privileged process.  Maybe that's ok, but it could be confusing
as part of the interface for the logger - maybe suggesting that the
functionality belongs elsewhere.

-- 
Ken
klm@zope.com