automatically delete var/log/messages/ log

fdnven

Well-Known Member
Feb 14, 2006
120
1
168
Hi,

Is there any settings in cPanel to delete the subject line log after it has been rotated after a certain amount of day?

Thanks
Frank
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

There are no cPanel options to rotate the /var/log/messages file. However, you can install/configure LogWatch to rotate this file for you. I am not aware of of any settings that will only remove certain parts of the log entries, but you can configure the log itself to be rotated.

Thank you.