[LinuxFailSafe] Logs rotation
Lars Marowsky-Bree
lmb@suse.de
Mon, 10 Jun 2002 18:16:02 +0200
On 2002-06-10T15:35:46,
Oliver Jehle <oliver.jehle@monex.li> said:
> I think, you have to write signal handlers for the deamons to force a
> log switch. as i know, you can limit the size of the log with the config
> files, but not switching them... hope i'm right..
Well, the daemons would do better close/open the file after each write.
Actually, what you _could_ do even now if you don't like the copy&truncate
approach is to rename the logfiles in the database; from then on, the daemons
should log to the new name.
Sincerely,
Lars Marowsky-Brée <lmb@suse.de>
--
Immortality is an adequate definition of high availability for me.
--- Gregory F. Pfister