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:
authorMatthieu Napoli <matthieu@mnapoli.fr>2014-12-22 00:15:44 +0300
committerMatthieu Napoli <matthieu@mnapoli.fr>2014-12-22 00:15:44 +0300
commitab18171856977b491646bc96c7a7017cfb6121ce (patch)
tree77ab79c1005c55da52e6b32c2b4e47e8eeed578d /core
parent3dc9bd3cae1250980e62a0ccfec7c39332fbd64b (diff)
#6881 Disable logging in 'climulti:request'
Logging in `climulti:request` can mess up `core:archive`.
Diffstat (limited to 'core')
-rw-r--r--core/CliMulti/RequestCommand.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/CliMulti/RequestCommand.php b/core/CliMulti/RequestCommand.php
index 74f4d9f6d0..be60dcf033 100644
--- a/core/CliMulti/RequestCommand.php
+++ b/core/CliMulti/RequestCommand.php
@@ -10,6 +10,7 @@ namespace Piwik\CliMulti;
use Piwik\Config;
use Piwik\Container\StaticContainer;
+use Piwik\Log;
use Piwik\Plugin\ConsoleCommand;
use Piwik\Url;
use Piwik\UrlHelper;
@@ -92,5 +93,6 @@ class RequestCommand extends ConsoleCommand
{
$container = StaticContainer::getContainer();
$container->set('Psr\Log\LoggerInterface', new NullLogger());
+ Log::unsetInstance();
}
}