Revision #2 has been created by olafure on Jun 8, 2009, 9:54:11 AM with the memo:
Added preload to the config
« previous (#1) next (#3) »
Changes
Title
unchanged
How to log context information to logger (session id, user, ...)
Category
unchanged
Tutorials
Yii version
unchanged
Tags
unchanged
Content
changed
Logging context information (session, user, ...) to the logfile can be of great help tracking down problems with specific users.
*This
will be available inrequires Yii 1.0.6
.*
**config/main.php**[...]
```php
<?php
return array(
// ...
'preload'=>array('log', 'session'),
// ...
'components'=>array(
// ...
'log'=>array(
'class'=>'CLogRouter',
'routes'=>array([...]