Fix log classname in skeleton

Fixes "logger class File does not implement a write method."
It probably tries to use the utility File class instead of the logger
This commit is contained in:
Hadrien Collongues 2013-09-05 11:20:39 +02:00
parent 85e47169b0
commit 7e28636a72

View file

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