flock experience
Robin Becker
robin at jessikat.fsnet.co.uk
Tue Jan 14 14:39:46 EST 2003
In article <20030114141533.5d324d3a.pythonhda at yahoo.com.replacepythonwit
hlinux>, pythonhda <pythonhda at yahoo.com.replacepythonwithlinux> writes
>If you're on a *nix system, do you have access to syslogd?
>It's not hard to create a log file just for your program and python has a module
>(syslog) for it.
>
.....I'm sure I can put stuff into syslog, but I doubt the sys admins
will give us a category for our output. A vague memory suggests that
logs are single line only, so I'd need to massage the current entries.
I'd like to thank everybody who answered here and by email.
There seem to be several common responses
Worry about NFS mounted filesystems
Use a daemon, preferably syslog
Use a database approach.
Use portalocker
Use separate logfiles
--
Robin Becker
More information about the Python-list
mailing list