View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
09492Feature requestsDocumentationpublic2016-06-02 10:45
ReporterAr7 Assigned To 
PrioritynormalSeverityfeature 
Status acknowledgedResolutionopen 
Product Version2.05+ 
Summary09492: Limesurvey log
Description

It seems that Limesurvey has no txt log which could be a massive feature when you have errors inserting data or completing the survey.
The manager could easily find the problem (if it is the software/costumer)
At the moment there is some additional stuff that everyone can use but this would be great if it could be in the Limesurvey!

TagsNo tags attached.
Bug heat6
Story point estimate
Users affected %

Users monitoring this issue

Ar7

Activities

DenisChenu

DenisChenu

2015-02-04 16:32

developer   ~31629

Doc issue, can be done with Yii.

Add this in your config.php
'log' => array(
'class' => 'CLogRouter',
'routes' => array(
'file' => array(
'class' => 'CFileLogRoute',
'categories' => 'system.*',
),
)
),

It log ALL DB instruction to tmp/runtime/application.log

For specific logging, maybe we can add "Yii::log($message, $level, $category);" at some place.
But when ?

Mazi

Mazi

2016-06-02 10:41

updater   ~39073

Denis, can you show an example of how the log should look like?

I have added the above to my LS 2.06 config.php, no errors, but also no log file create at /tmp/runtime.

Do I manually have to create file application.log?

DenisChenu

DenisChenu

2016-06-02 10:45

developer   ~39074

@Mazi : no, but i need to do more test : seems set config to 0 disable a lot of txt log ....

Let me check something in 2.06

Issue History

Date Modified Username Field Change
2015-02-04 10:16 Ar7 New Issue
2015-02-04 10:16 Ar7 Status new => assigned
2015-02-04 10:16 Ar7 Assigned To => Mazi
2015-02-04 10:17 Ar7 Issue Monitored: Ar7
2015-02-04 13:54 c_schmitz Project Bug reports => Feature requests
2015-02-04 16:32 DenisChenu Note Added: 31629
2016-06-02 10:41 Mazi Note Added: 39073
2016-06-02 10:41 Mazi Assigned To Mazi =>
2016-06-02 10:41 Mazi Status assigned => acknowledged
2016-06-02 10:45 DenisChenu Note Added: 39074