diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-12-22 00:15:44 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-12-22 00:15:44 +0300 |
commit | ab18171856977b491646bc96c7a7017cfb6121ce (patch) | |
tree | 77ab79c1005c55da52e6b32c2b4e47e8eeed578d /core/CliMulti | |
parent | 3dc9bd3cae1250980e62a0ccfec7c39332fbd64b (diff) |
#6881 Disable logging in 'climulti:request'
Logging in `climulti:request` can mess up `core:archive`.
Diffstat (limited to 'core/CliMulti')
-rw-r--r-- | core/CliMulti/RequestCommand.php | 2 |
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(); } } |