logrotations - just what should be rotated

forlinuxsupport

Well-Known Member
PartnerNOC
Dec 22, 2004
386
0
166
cPanel Access Level
Root Administrator
Hey All

Im really concerned with the logs that arnt setup to rotate by cpanel.
I dont know if cpanel thinks they are irrelevent or if that just dont know about them.

My main concerns are logs going over 2 gig mark (dom logs), but that is discusssed in another thread.

What about the other apache logs, not in the domlogs folder ??
also
The logs in /usr/local/cpanel/3rdparty/mailman/logs ?

Shall I just create my own rotate jobs for them and hope for the best ?
Which processes neeed restarting once logs have been rotatte.. just syslogd ??

Anyone know of any onther logs that should be setup to rotate, please add them here :)

Thanks for the help.
Andy
 

forlinuxsupport

Well-Known Member
PartnerNOC
Dec 22, 2004
386
0
166
cPanel Access Level
Root Administrator
Hey guys

Anyone know if you cant symlink the domlogs directory to another partition ??

I have done this and the logging works fine, but I have noticed that at the end of the month the domlogs are NOT rotating anymore. :(

I have told cpanel to archive the log at the end of the month, which it does correctly, but it doesnt empty the domlog file !%!#!

I check in Tweak settings and the option ot KEEP logs at the end of month is also off.

Thnaks for the help.

Andy
 

jackie46

BANNED
Jul 25, 2005
536
0
166
forlinuxsupport said:
hey

Thanks for the link.. good info there.

Anyone setup any other logs to rotate in cpanel ??

Cheers
Andy
The best tutorial i found was on EV1 forums. Search for "Let talk about log rotation". It fixes everything to do with log rotation. :D