Dropping 'Log' suffix from log configs as per change in cb24dbb084.

Reverts regressive change done in 7e28636a72.
This commit is contained in:
ADmad 2013-09-05 19:37:41 +05:30
parent 77c453b2a3
commit 29d0e26710
2 changed files with 4 additions and 4 deletions

View file

@ -98,12 +98,12 @@ Configure::write('Dispatcher.filters', array(
*/ */
App::uses('CakeLog', 'Log'); App::uses('CakeLog', 'Log');
CakeLog::config('debug', array( CakeLog::config('debug', array(
'engine' => 'FileLog', 'engine' => 'File',
'types' => array('notice', 'info', 'debug'), 'types' => array('notice', 'info', 'debug'),
'file' => 'debug', 'file' => 'debug',
)); ));
CakeLog::config('error', array( CakeLog::config('error', array(
'engine' => 'FileLog', 'engine' => 'File',
'types' => array('warning', 'error', 'critical', 'alert', 'emergency'), 'types' => array('warning', 'error', 'critical', 'alert', 'emergency'),
'file' => 'error', 'file' => 'error',
)); ));

View file

@ -89,12 +89,12 @@ Configure::write('Dispatcher.filters', array(
*/ */
App::uses('CakeLog', 'Log'); App::uses('CakeLog', 'Log');
CakeLog::config('debug', array( CakeLog::config('debug', array(
'engine' => 'FileLog', 'engine' => 'File',
'types' => array('notice', 'info', 'debug'), 'types' => array('notice', 'info', 'debug'),
'file' => 'debug', 'file' => 'debug',
)); ));
CakeLog::config('error', array( CakeLog::config('error', array(
'engine' => 'FileLog', 'engine' => 'File',
'types' => array('warning', 'error', 'critical', 'alert', 'emergency'), 'types' => array('warning', 'error', 'critical', 'alert', 'emergency'),
'file' => 'error', 'file' => 'error',
)); ));