diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-04-07 08:16:12 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-04-07 08:16:12 +0400 |
commit | c9e9801181480d0ac8fbd6d9dfc0f0b144b5b6a9 (patch) | |
tree | f2dc3da8f5aca7d491ebef3fa2530d938f7b50cc /core/Log.php | |
parent | 9a1e82383aaac036cf5636a775d55816154b305e (diff) |
Log request key in CLI
Diffstat (limited to 'core/Log.php')
-rw-r--r-- | core/Log.php | 5 |
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); |