Control Web Panel

WebPanel => CentOS-WebPanel GUI => Topic started by: alimo on August 12, 2020, 01:51:39 PM

Title: Clearing the log files
Post by: alimo on August 12, 2020, 01:51:39 PM
Is there a way to clear the log files? When I check access and Error logs, I want to clear them to see if the errors are regenerated again.

Also the formatting is not very good, there is no line breaks in the log file viewer. Some coloring is also nice!
Title: Re: Clearing the log files
Post by: cinique on August 12, 2020, 02:20:26 PM
Logrotate is a standard linux message handler, that all sysadmins should know about.
CWP even provide lusers with a GUI to manage it, if command line is too scary.

[From your other post about notifications, you don't care about security, so may as well ignore system message too. :p]