Skip to content
Snippets Groups Projects
Commit 6bd9bbde authored by Fabien Potencier's avatar Fabien Potencier
Browse files

Revert "bug #1362 Added monolog.formatter.output and monolog.formatter.dateformat param… (grunch)"

This reverts commit d72829f9, reversing
changes made to 570cffad.
parent d72829f9
Branches
Tags
No related merge requests found
......@@ -74,8 +74,8 @@ class MonologServiceProvider implements ServiceProviderInterface, BootableProvid
return $log;
};
$app['monolog.formatter'] = function () use ($app) {
return new LineFormatter($app['monolog.formatter.output'], $app['monolog.formatter.dateformat']);
$app['monolog.formatter'] = function () {
return new LineFormatter();
};
$app['monolog.handler'] = $defaultHandler = function () use ($app) {
......@@ -114,8 +114,6 @@ class MonologServiceProvider implements ServiceProviderInterface, BootableProvid
$app['monolog.use_error_handler'] = function ($app) {
return !$app['debug'];
};
$app['monolog.formatter.output'] = "[%datetime%] [%level_name%] %channel% - %message% %context% %extra%\n";
$app['monolog.formatter.dateformat'] = 'Y-m-d H:i:s';
}
public function boot(Application $app)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment