Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Feb 2000 00:07:42 -0600 (CST)
From:      donv648@kfogmail.com
To:        freebsd-questions@freebsd.org
Subject:   Best way to really archive mail logs?
Message-ID:  <m12GbuA-000G6BC@kfogmail.com>

next in thread | raw e-mail | index | archive | help
We need to keep a permanent copy of our maillog files. I have looked through newsyslog a bit and see the default for maillog rotation is...

/var/log/maillog              664  7     *    24    Z

Since cron fires this every hour at minute 0 I think this implies that once every hour newsyslog will evaluate whether the time since booting is divisible by 24, and rotate the logs if so. Is that right? The 24th hour since boot thing is where I'm stumped. I'm not seeing a clean way to get a copy via my own cron or whatever when the rotation is based on a time since the last boot (without creating our own "hours since boot" copier). Must be missing something. ???

Thank you
Don

..........................
Get your own free email!
http://www.kfog.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m12GbuA-000G6BC>