substitute error_log with log_crit for data access statistics log
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Sun, 20 Mar 2011 18:02:16 +0000 (19:02 +0100)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Sun, 20 Mar 2011 18:02:16 +0000 (19:02 +0100)
web/index_rd.php

index 3dec5e9..2bb4321 100644 (file)
@@ -406,7 +406,7 @@ $s = "[".$sess."] index_rd.php stats: ";
 foreach ($S_load_stat as $key => $value) {
     $s .= sprintf("%s: %d - ", $key, $value);
 }
-error_log($s, 0);
+log_crit($s);
 
 
 ?>