Skip to content
Permalink
Browse files

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
  • Loading branch information...
chadrien committed Sep 5, 2013
1 parent 85e4716 commit 7e28636a72b40e557749cd88ce26fa2ede5e58a1
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Console/Templates/skel/Config/bootstrap.php
@@ -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.
You can’t perform that action at this time.