Permalink
Browse files

Tidied up example exclude

  • Loading branch information...
1 parent 9516277 commit e973b5d8c715fd367bdb712a2f34311edc1840eb @acorncom committed Oct 3, 2012
Showing with 1 addition and 7 deletions.
  1. +1 −7 docs/guide/topics.logging.txt
@@ -96,15 +96,9 @@ we can prevent certain categories from appearing in our logs:
[php]
'routes'=>array(
array(
- 'class'=>'CFileLogRoute',
- 'levels'=>'trace, info',
- 'categories'=>'system.*',
- 'exclude'=>'system.CModule', // shows everything from system except CModule level logs
- ),
- array(
'class'=>'CEmailLogRoute',
'levels'=>'error, warning',
- 'exclude'=>'system.CModule.*' // Will show everything except any CModule logs
+ 'exclude'=>'system.CModule.*' // Will email everything except any CModule logs
'emails'=>'admin@example.com',
),
array(

0 comments on commit e973b5d

Please sign in to comment.