mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-03-29 11:43:43 -04:00
Merge pull request #1726 from Alkarex/message_log_rotation
Add message after log rotation
This commit is contained in:
@@ -98,6 +98,7 @@ class Minz_Log {
|
||||
rewind($fp);
|
||||
ftruncate($fp, 0);
|
||||
fwrite($fp, $content ? $content : '');
|
||||
fwrite($fp, sprintf("[%s] [notice] --- Log rotate.\n", date('r')));
|
||||
fflush($fp);
|
||||
flock($fp, LOCK_UN);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user