]> git.mxchange.org Git - friendica.git/commitdiff
switched back to logger
authorPhilipp Holzer <admin@philipp.info>
Fri, 22 Feb 2019 22:53:20 +0000 (23:53 +0100)
committerPhilipp Holzer <admin@philipp.info>
Fri, 22 Feb 2019 22:53:20 +0000 (23:53 +0100)
src/Core/Worker.php

index 29d825050f67920b56aadcb3bb529ee4f8fec4b0..cb8511a0e8961c3cf996e7f6bce2abc24a556b24 100644 (file)
@@ -400,7 +400,7 @@ class Worker
                $rest    = number_format(max(0, $up_duration - (self::$db_duration + self::$lock_duration)), 4);
                $exec    = number_format($duration, 4);
 
-               $workerLogger->info('Performance log.', ['total' => $dbtotal, 'count' => $dbcount, 'stat' => $dbstat, 'write' => $dbwrite, 'block' => $dblock, 'rest' => $rest, 'exec' => $exec]);
+               $logger->info('Performance log.', ['total' => $dbtotal, 'count' => $dbcount, 'stat' => $dbstat, 'write' => $dbwrite, 'block' => $dblock, 'rest' => $rest, 'exec' => $exec]);
 
                self::$up_start = microtime(true);
                self::$db_duration = 0;