From 16863c5d825caf41978920cd579426864f48f65c Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Fri, 22 Feb 2019 23:53:20 +0100 Subject: [PATCH] switched back to logger --- src/Core/Worker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Worker.php b/src/Core/Worker.php index 29d825050f..cb8511a0e8 100644 --- a/src/Core/Worker.php +++ b/src/Core/Worker.php @@ -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;