A free, self-hostable news aggregator…
Add message after log rotation
Alexandre Alapetite92d9d77fe57c
diff --git a/lib/Minz/Log.php b/lib/Minz/Log.phpindex 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 {