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
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Monolog/config/config.php')
-rw-r--r--plugins/Monolog/config/config.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/Monolog/config/config.php b/plugins/Monolog/config/config.php
index 6a7fb0130f..95463b91de 100644
--- a/plugins/Monolog/config/config.php
+++ b/plugins/Monolog/config/config.php
@@ -46,7 +46,10 @@ return array(
'Piwik\Plugins\Monolog\Handler\FileHandler' => DI\object()
->constructor(DI\get('log.file.filename'), DI\get('log.level'))
- ->method('setFormatter', DI\get('Piwik\Plugins\Monolog\Formatter\LineMessageFormatter')),
+ ->method('setFormatter', DI\get('log.lineMessageFormatter.file')),
+
+ 'log.lineMessageFormatter.file' => DI\object('Piwik\Plugins\Monolog\Formatter\LineMessageFormatter')
+ ->constructorParameter('allowInlineLineBreaks', false),
'Piwik\Plugins\Monolog\Handler\DatabaseHandler' => DI\object()
->constructor(DI\get('log.level'))