diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-02-02 01:45:32 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-02-12 00:12:19 +0300 |
commit | e122a4e37b3eef21fc6fc32ed7d31c56c38d673f (patch) | |
tree | 89aa9600a70200f1e94cf0454d62d037f0e361e2 /misc/cron | |
parent | 47c0eae3f8202430ea576e09cf0ded90f783eea1 (diff) |
Moved the monolog configuration and code into a Monolog plugin
Diffstat (limited to 'misc/cron')
-rw-r--r-- | misc/cron/archive.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/cron/archive.php b/misc/cron/archive.php index be81b9a6a7..eecd78946b 100644 --- a/misc/cron/archive.php +++ b/misc/cron/archive.php @@ -73,7 +73,7 @@ if (isset($_SERVER['argv']) && Piwik\Console::isSupported()) { /** @var \Monolog\Logger $logger */ $logger = StaticContainer::get('Psr\Log\LoggerInterface'); $handler = new StreamHandler('php://output', Logger::INFO); - $handler->setFormatter(StaticContainer::get('Piwik\Log\Formatter\LineMessageFormatter')); + $handler->setFormatter(StaticContainer::get('Piwik\Plugins\Monolog\Formatter\LineMessageFormatter')); $logger->pushHandler($handler); } |