Remove thumbnailaccess logging
authorGilles Dubuc <gdubuc@wikimedia.org>
Wed, 5 Aug 2015 08:40:58 +0000 (10:40 +0200)
committerGilles Dubuc <gdubuc@wikimedia.org>
Wed, 5 Aug 2015 08:40:58 +0000 (10:40 +0200)
Bug: T107437
Change-Id: I3c2fe7b894fc571f4f92323637340dda23099a3a

includes/filerepo/file/File.php
thumb.php

index 72b3ae9..f9e1128 100644 (file)
@@ -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;
        }
 
index 03a3f35..12173c5 100644 (file)
--- 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;
        }