Wowza Community

Logrotate how to do it?

I searched the forum, and I can’t believe that the word logrotate has never been used on the forum!? :eek:

So what’s the correct way of rotating the log files?

Regards,

“log rotate” or “rotation” ?

The log4j appenders are setup for daily rollover, but you can modify in /conf/log4j.properties. This is how to do hourly:

http://www.wowza.com/community/t/-/33674#2

Richard

I don’t know, but I found this posting about using logrotate and log4j together.

http://nicerhttpd.blogspot.com/2008/11/logrotate-and-log4j.html

Richard

logrotate is a gnu/linux app that archives log files (for instance everyday day) and removes them after some period of time, so that the harddrive doesn’t suddenly get locked due to no free space being left.

I noticed that log4j kinda does that, but does it allow deletion of the old log files after some time?