aboutsummaryrefslogtreecommitdiffstats
path: root/i.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2015-04-24 17:06:47 +0000
committermistic100 <mistic@piwigo.org>2015-04-24 17:06:47 +0000
commit271e1f5688cb1dbec065dadf07b5ddb1ac12c899 (patch)
tree551716e6063ae5ce11199bae34618299812d4cd3 /i.php
parent0c576ea19d6d42950615f94feb33df305107a9a6 (diff)
feature 3221 Lazy log file open, clean code
git-svn-id: http://piwigo.org/svn/trunk@31103 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'i.php')
-rw-r--r--i.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/i.php b/i.php
index 297681c23..c9a807aac 100644
--- a/i.php
+++ b/i.php
@@ -614,9 +614,9 @@ $timing['send'] = time_step($step);
$timing['total'] = time_step($begin);
-if ($logger->severity() >= Logger::INFO)
+if ($logger->severity() >= Logger::DEBUG)
{
- $logger->info('perf', 'i.php', array(
+ $logger->debug('', 'i.php', array(
'src_path' => basename($page['src_path']),
'derivative_path' => basename($page['derivative_path']),
'o_size' => $o_size[0] . ' ' . $o_size[1] . ' ' . ($o_size[0]*$o_size[1]),