From: Philipp Holzer Date: Mon, 18 Feb 2019 10:18:05 +0000 (+0100) Subject: Fixing saveLog() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=86aaa6565e4630ecbc4a70eb3bb3faabaea5b86c;p=friendica.git Fixing saveLog() --- diff --git a/src/Core/Worker.php b/src/Core/Worker.php index c5d60f14da..13db8d97e8 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);