Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-04-07 08:16:12 +0400
committermattab <matthieu.aubry@gmail.com>2014-04-07 08:16:12 +0400
commitc9e9801181480d0ac8fbd6d9dfc0f0b144b5b6a9 (patch)
treef2dc3da8f5aca7d491ebef3fa2530d938f7b50cc /core
parent9a1e82383aaac036cf5636a775d55816154b305e (diff)
Log request key in CLI
Diffstat (limited to 'core')
-rw-r--r--core/Log.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/Log.php b/core/Log.php
index a718bafcd4..863d79b34e 100644
--- a/core/Log.php
+++ b/core/Log.php
@@ -426,10 +426,7 @@ class Log extends Singleton
}
if (is_string($message)) {
- if ((!defined('PIWIK_TEST_MODE')
- || !PIWIK_TEST_MODE)
- && !Common::isPhpCliMode()
- ) {
+ if (!defined('PIWIK_TEST_MODE')) {
$message = '[' . $currentRequestKey . '] ' . $message;
}
$message = $this->formatMessage($level, $tag, $datetime, $message);