]> git.mxchange.org Git - friendica.git/commitdiff
removed wrong log-output
authorPhilipp Holzer <admin@philipp.info>
Sun, 17 Feb 2019 00:57:59 +0000 (01:57 +0100)
committerPhilipp Holzer <admin@philipp.info>
Sun, 17 Feb 2019 00:57:59 +0000 (01:57 +0100)
src/Util/Profiler.php

index 5bad5eb6ae60091f2abf5a00f6ce66fa2b73586f..9d04a6498a98a63f43d5a3b948d09c54d04ff90e 100644 (file)
@@ -149,8 +149,7 @@ class Profiler implements ContainerInterface
                $this->logger->info(
                        $message,
                        [
-                               'module' => 'api',
-                               'action' => 'call',
+                               'action' => 'profiling',
                                'database_read' => round($this->get('database') - $this->get('database_write'), 3),
                                'database_write' => round($this->get('database_write'), 3),
                                'cache_read' => round($this->get('cache'), 3),
@@ -214,7 +213,7 @@ class Profiler implements ContainerInterface
                                }
                        }
                }
-               $this->logger->info($message . ": " . $o);
+               $this->logger->info($message . ": " . $o, ['action' => 'profiling']);
        }
 
        /**