From: Gilles Dubuc Date: Wed, 5 Aug 2015 08:40:58 +0000 (+0200) Subject: Remove thumbnailaccess logging X-Git-Tag: 1.31.0-rc.0~10513 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=f9e1ea8a044501f4357814147161200b55135f81;p=lhc%2Fweb%2Fwiklou.git Remove thumbnailaccess logging Bug: T107437 Change-Id: I3c2fe7b894fc571f4f92323637340dda23099a3a --- diff --git a/includes/filerepo/file/File.php b/includes/filerepo/file/File.php index 72b3ae9d81..f9e1128a8e 100644 --- a/includes/filerepo/file/File.php +++ b/includes/filerepo/file/File.php @@ -1149,8 +1149,6 @@ abstract class File implements IDBAccessObject { Hooks::run( 'FileTransformed', array( $this, $thumb, $tmpThumbPath, $thumbPath ) ); } - wfDebugLog( 'thumbnailaccess', time() . ' ' . $thumbPath . ' ' . filesize( $tmpThumbPath ) . ' Generated ' ); - return $thumb; } diff --git a/thumb.php b/thumb.php index 03a3f354e6..12173c55dd 100644 --- a/thumb.php +++ b/thumb.php @@ -310,7 +310,6 @@ function wfStreamThumb( array $params ) { wfThumbError( 500, 'Could not stream the file' ); } else { RequestContext::getMain()->getStats()->timing( 'media.thumbnail.stream', $streamtime ); - wfDebugLog( 'thumbnailaccess', time() . ' ' . $thumbPath . ' ' . ob_get_length() . ' Streamed ' ); } return; }