From 86aaa6565e4630ecbc4a70eb3bb3faabaea5b86c Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Mon, 18 Feb 2019 11:18:05 +0100 Subject: [PATCH] Fixing saveLog() --- 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 c5d60f14d..13db8d97e 100644 --- a/src/Core/Worker.php +++ b/src/Core/Worker.php @@ -441,7 +441,7 @@ class Worker Logger::log("Process ".$mypid." - Prio ".$queue["priority"]." - ID ".$queue["id"].": ".$funcname." - done in ".number_format($duration, 4)." seconds. Process PID: ".$new_process_id); - $a->getProfiler()->saveLog("ID " . $queue["id"] . ": " . $funcname); + $a->getProfiler()->saveLog($a->getLogger(), "ID " . $queue["id"] . ": " . $funcname); $cooldown = Config::get("system", "worker_cooldown", 0);