From 271e1f5688cb1dbec065dadf07b5ddb1ac12c899 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Fri, 24 Apr 2015 17:06:47 +0000 Subject: feature 3221 Lazy log file open, clean code git-svn-id: http://piwigo.org/svn/trunk@31103 68402e56-0260-453c-a942-63ccdbb3a9ee --- i.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'i.php') 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]), -- cgit v1.2.3