How do I know if logrotate is working?

Nguyễn Hào

New member
How do I know if logrotate is working?
Answer
To verify if a particular log is indeed rotating or not and to check the last date and time of its rotation, check
the /var/lib/logrotate/status file. This is a neatly formatted file that contains the log file name and the date on which it was last rotated.
 

Tìm kiếm

Back
Top