Skip to content

Commit

Permalink
Fix log classname in skeleton
Browse files Browse the repository at this point in the history
Fixes "logger class File does not implement a write method."
It probably tries to use the utility File class instead of the logger
  • Loading branch information
chadrien committed Sep 5, 2013
1 parent 85e4716 commit 7e28636
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Console/Templates/skel/Config/bootstrap.php
Expand Up @@ -89,12 +89,12 @@
*/
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',
));

0 comments on commit 7e28636

Please sign in to comment.