From: Michael Vogel Date: Sun, 6 Dec 2015 19:04:33 +0000 (+0100) Subject: Some better logging X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fbbba6828b16cffaa6f9c70f5902d98b80678640;p=friendica.git Some better logging --- diff --git a/include/poller.php b/include/poller.php index 06a5314a4f..8c102a66b9 100644 --- a/include/poller.php +++ b/include/poller.php @@ -104,10 +104,10 @@ function poller_run(&$argv, &$argc){ $funcname=str_replace(".php", "", basename($argv[0]))."_run"; if (function_exists($funcname)) { - logger("Process ".getmypid().": ".$funcname." ".$r[0]["parameter"]); + logger("Process ".getmypid()." - ID ".$r[0]["id"].": ".$funcname." ".$r[0]["parameter"]); $funcname($argv, $argc); - logger("Process ".getmypid().": ".$funcname." - done"); + logger("Process ".getmypid()." - ID ".$r[0]["id"].": ".$funcname." - done"); q("DELETE FROM `workerqueue` WHERE `id` = %d", intval($r[0]["id"])); } else