aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/Log.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Minz/Log.php')
-rw-r--r--lib/Minz/Log.php1
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 {