Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: magwm on January 11, 2010, 06:24:12 PM
-
Hello, I would like to ask for help on this item:
I have an extra log running: /var/log/windows.log
which receives logs from facility local4 of syslog (described the process in http://forums.contribs.org/index.php/topic,45329.msg220289.html#msg220289 (http://forums.contribs.org/index.php/topic,45329.msg220289.html#msg220289) )
but now I want to logrotate this logfile, like rotating it every month.
I cannot find any references on how to configure this.
Where can I start ?
thanks a lot,
Michel - Gadis
-
Hi Michel
all you have to do is create a file in /etc/logrotate.d dir
you can use radiusd as an example..
for any other question you should read
man logrotate
HTH
-
thanks Stefano, much obliged... :)
-
:-)
I suggest you to create a custom template for it, so it will be in your backup ;-)