New logs are not appended when logrotate rotates log file
Lirt opened this issue · comments
Ondrej Vaško commented
New logs are not appended when logrotate rotates log file
Ondrej Vaško commented
Proper handling to this is to use copytruncate
in logrotate, to copy content of log file to new .1
and truncate used .log
file.
See copytruncate
in https://manpages.debian.org/jessie/logrotate/logrotate.8.en.html