[opensuse] logrotate - rotating several files named the same ?
I'm setting up to run logrotate on several logfiles with the same name, but in different directories. I'll have one logrotate.conf, but is it enough with a single logrotate.status file? I'll be running logrotate like this: (cd <dir>; logrotate --state TOPDIR/logrotate.state TOPDIR/logrotate.conf). -- Per Jessen, Zürich (10.2°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Per Jessen wrote:
I'm setting up to run logrotate on several logfiles with the same name, but in different directories. I'll have one logrotate.conf, but is it enough with a single logrotate.status file?
I get to answer that one myself - no, logrotate writes a complete status file, it doesn't update it. -- Per Jessen, Zürich (10.1°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
Per Jessen