mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
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:
parent
85e47169b0
commit
7e28636a72
1 changed files with 2 additions and 2 deletions
|
@ -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',
|
||||
));
|
||||
|
|
Loading…
Add table
Reference in a new issue