View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|11661||Feature requests||Other||public||2016-09-16 15:56||2016-09-17 18:01|
|Summary||11661: Activate logging of error and warning by default|
|Description||Actually : with debug = 0 : user must search in his apache log to have the error. It can be coplicated, and not all user can access the pache error log file.|
Yii have a log error system to log error on a file. We already log error in HTML if user set debug=1. But it can be great to log error and warnig for bug report and forum.
|Additional Information||@olle add 'class' => 'CFileLogRoute', surely for some testing removed after. But maybe we can have |
'log' => array(
'applicationError' => array(
'class' => 'CFileLogRoute',
'levels' => 'warning, error',
'logFile' => 'error.log',
i released internal.
The log file is runtime/error.log : renamed/deleted automatcially by Yii .
Give a key to the log allow different logguing.
|Tags||No tags attached.|