]> git.mxchange.org Git - friendica.git/commitdiff
Fixing saveLog()
authorPhilipp Holzer <admin@philipp.info>
Mon, 18 Feb 2019 10:18:05 +0000 (11:18 +0100)
committerPhilipp Holzer <admin@philipp.info>
Mon, 18 Feb 2019 10:29:51 +0000 (11:29 +0100)
src/Core/Worker.php

index c5d60f14da26333c65e56c418953de5879dcbc28..13db8d97e8b7bbd33aac36282be41d73c5dc9477 100644 (file)
@@ -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);