diff options
| author | 2017-12-16 17:37:32 +0100 | |
|---|---|---|
| committer | 2017-12-16 18:08:08 +0100 | |
| commit | 92d9d77fe57c8f5a2407889c6c84fed1fb6f22a1 (patch) | |
| tree | 39f20e0253b55d7c207c5a056534e2552d5328fd | |
| parent | ccb829418d25af49d129ac227b0cbd09c085b8a3 (diff) | |
Add message after log rotation
https://github.com/FreshRSS/FreshRSS/pull/1712
https://github.com/FreshRSS/FreshRSS/issues/1562
| -rw-r--r-- | lib/Minz/Log.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Minz/Log.php b/lib/Minz/Log.php index 5e7831cdb..a8dbf8350 100644 --- a/lib/Minz/Log.php +++ b/lib/Minz/Log.php @@ -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 { |
