mirror of
https://github.com/atlanticbiomedical/portal-legacy.git
synced 2025-07-02 01:47:28 -04:00
initial commit
This commit is contained in:
25
cache/atlbiomed/dev/config/config_logging.yml.php
vendored
Normal file
25
cache/atlbiomed/dev/config/config_logging.yml.php
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
// auto-generated by sfDefineEnvironmentConfigHandler
|
||||
// date: 2012/09/22 21:24:43
|
||||
sfConfig::add(array(
|
||||
'sf_logging_enabled' => true,
|
||||
'sf_logging_level' => 'debug',
|
||||
'sf_logging_rotate' => false,
|
||||
'sf_logging_period' => 7,
|
||||
'sf_logging_history' => 10,
|
||||
'sf_logging_purge' => true,
|
||||
));
|
||||
|
||||
$logger = sfLogger::getInstance();
|
||||
$logger->setLogLevel(constant('SF_LOG_'.strtoupper(sfConfig::get('sf_logging_level'))));
|
||||
|
||||
$log = new sfWebDebugLogger();
|
||||
$log->initialize(array (
|
||||
));
|
||||
$logger->registerLogger($log);
|
||||
|
||||
$log = new sfFileLogger();
|
||||
$log->initialize(array (
|
||||
'file' => '/var/www/portal.atlanticbiomedical.com/log/atlbiomed_dev.log',
|
||||
));
|
||||
$logger->registerLogger($log);
|
Reference in New Issue
Block a user