Skip to content

Commit

Permalink
Moving default monolog service config to dist file
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Barton committed Feb 18, 2014
1 parent 4f77d10 commit 6d3849a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 19 deletions.
20 changes: 1 addition & 19 deletions config/module.config.php
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
<?php

return array(
'EnliteMonolog' => array(
// Logger name
'EnliteMonologService' => array(
// name of
'name' => 'default',
// Handlers, it can be service manager alias(string) or config(array)
'handlers' => array(
'default' => array(
'name' => 'Monolog\Handler\StreamHandler',
'args' => array(
'path' => 'data/log/application.log',
'level' => \Monolog\Logger::DEBUG,
'bubble' => true
)
)
)
)
),
'service_manager' => array(
'abstract_factories' => array(
'EnliteMonolog\Service\MonologServiceAbstractFactory'
Expand All @@ -27,4 +9,4 @@
'EnliteMonolog\Service\MonologServiceInitializer'
)
)
);
);
22 changes: 22 additions & 0 deletions config/monolog.global.php.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

return array(
'EnliteMonolog' => array(
// Logger name
'EnliteMonologService' => array(
// name of
'name' => 'default',
// Handlers, it can be service manager alias(string) or config(array)
'handlers' => array(
'default' => array(
'name' => 'Monolog\Handler\StreamHandler',
'args' => array(
'path' => 'data/log/application.log',
'level' => \Monolog\Logger::DEBUG,
'bubble' => true
)
)
)
)
)
);

0 comments on commit 6d3849a

Please sign in to comment.