Skip to content

Instantly share code, notes, and snippets.

@GeeH
Forked from snowwolf007cn/'priority' doesn't work
Created March 29, 2014 11:56
Show Gist options
  • Save GeeH/9853169 to your computer and use it in GitHub Desktop.
Save GeeH/9853169 to your computer and use it in GitHub Desktop.
<?php
/**
* Global Configuration Override
*
* You can use this file for overriding configuration values from modules, etc.
* You would place values in here that are agnostic to the environment and not
* sensitive to security.
*
* @NOTE: In practice, this file will typically be INCLUDED in your source
* control, so do not include passwords or other sensitive information in this
* file.
*/
return array(
'service_manager' => array(
'abstract_factories' => array(
'Zend\Log\LoggerAbstractServiceFactory'
)
),
'log' => array(
'App\\Log' => array(
'writers' => array(
array(
'name' => 'stream',
'options' => array(
'stream' => 'log/app.log',
'filters' => array(
'priority' => array(
'name' => 'priority',
'options' => array(
'priority' => Zend\Log\Logger::CRIT
)
),
),
),
),
),
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment