1
0
Fork 0

switched back to logger

This commit is contained in:
Philipp Holzer 2019-02-22 23:53:20 +01:00
parent a613523dd7
commit 16863c5d82
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5

View 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;