View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
11661Feature requestsOtherpublic2016-09-17 18:01
ReporterDenisChenu Assigned To 
PrioritynoneSeverityfeature 
Status newResolutionopen 
Summary11661: Activate logging of error and warning by default
DescriptionActually : 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.
TagsNo tags attached.
Bug heat6

Users monitoring this issue

User List aesteban

Activities

aesteban

aesteban

2016-09-17 13:58

developer   ~40805

I like your idea Denis. I would also like a log in LS.
DenisChenu

DenisChenu

2016-09-17 18:01

developer   ~40807

@aesteban : you can already use tis in your config :) It's just add it to "default" :)

Issue History

Date Modified Username Field Change
2016-09-16 15:56 DenisChenu New Issue
2016-09-17 13:40 aesteban Issue Monitored: aesteban
2016-09-17 13:58 aesteban Note Added: 40805
2016-09-17 18:01 DenisChenu Note Added: 40807