Control Web Panel
WebPanel => Information => Topic started by: justcurious on April 24, 2018, 02:20:28 PM
-
I note that the Postfix mail log is 'rotated' on an intermittent basis - the file var/log/maillog is renamed to include a date based suffix and a new file var/log/maillog is created, but I want to be able to do this more frequently.
A Google search revealed that # logrotate -f /etc/logrotate.d/syslog
will reset the maillog (plus others), but I've found that the maillog is renamed maillog.1 and then deleted.
Does anyone know what script CWP uses to rotate the log ?
-
it can only default in the logrotate, nothing other exist in cwp.