Toggle navigation
Koozali.org: home of the SME Server
Community
Forums
Bugs
Lists
Forum Help
Download
SME Server ISOs
Contribs
Documentation
Manual
Wiki
FAQ
HowTo
Donate
Search
Login
Register
Login
Register
×
Close
Login
Remember me
Koozali.org: home of the SME Server
Contribs.org Forums
General Discussion
Topic:
logrotate a nonstandard log
« previous
next »
+
Print
Pages: [
1
]
Go Down
logrotate a nonstandard log
3 Replies
672 Views
magwm
159
+0/-0
SmeLover
logrotate a nonstandard log
«
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
)
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
Logged
MagWm
Stefano
10,894
+3/-0
Re: logrotate a nonstandard log
«
Reply #1 on:
January 11, 2010, 06:38:27 PM »
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
Code:
[Select]
man logrotate
HTH
Logged
magwm
159
+0/-0
SmeLover
Re: logrotate a nonstandard log
«
Reply #2 on:
January 11, 2010, 06:48:17 PM »
thanks Stefano, much obliged...
Logged
MagWm
Stefano
10,894
+3/-0
Re: logrotate a nonstandard log
«
Reply #3 on:
January 11, 2010, 07:28:47 PM »
I suggest you to create a custom template for it, so it will be in your backup
Logged
+
Print
Pages: [
1
]
Go Up
« previous
next »
Koozali.org: home of the SME Server
Contribs.org Forums
General Discussion
Topic:
logrotate a nonstandard log