Skip to content

Commit

Permalink
adding loggin
Browse files Browse the repository at this point in the history
  • Loading branch information
dogmatic69 committed Jun 21, 2012
1 parent 4caed2b commit 00c7782
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Config/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,15 @@
'CacheDispatcher',
));

// Add logging configuration.
CakeLog::config('debug', array(
'engine' => 'FileLog',
'types' => array('notice', 'info', 'debug'),
'file' => 'debug',
));
CakeLog::config('error', array(
'engine' => 'FileLog',
'types' => array('warning', 'error', 'critical', 'alert', 'emergency'),
'file' => 'error',
));

0 comments on commit 00c7782

Please sign in to comment.