On Thu, 07 Aug 2008 17:25:39 +0200 Zbigniew Szalbot said:
> Hello all,
>
> Would anyone want to comment if it is possible to rotate logs with
> newsyslog based on size and time (using FBSD 7.0-Release)?
>
> Many thanks!
Have you considered using a separate .conf file?
cat /etc/crontab
...
# Rot
At 10:17 AM +0200 8/5/08, Zbigniew Szalbot wrote:
My question is how can I make sure the logs are rotated when
they grow too large AND they are also rotated at a specified
point in time (start of a new month).
I am reading man newsyslog.conf and it says:
If the when field contains an asterisk
Hello,
On Thu, 7 Aug 2008 13:12:45 -0400, Garance A Drosehn <[EMAIL PROTECTED]>
wrote:
> I haven't looked closely at newsyslog in awhile. I started to
> write up a reply to you, but in a quick test newsyslog does not
> seem to be working the way that I expected it to work. It might
> just be th
Hi there,
I have the following rule in /etc/newsyslog.conf
var/log/*-access.log 644 1224000$W2D11 GZC
/var/run/httpd.pid 30
I am trying to see if I can specify to rotate logs when they are larger
then 24MB AND at the start of each month (for testing purposes I entered