- Posts: 1
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
About logs file in LimeSurvey
I have question.
How to write logs in LimeSurvey to a file?
How can i get logs file in LimeSurvey?
Thanks,
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
- DenisChenu
-
- Offline
- LimeSurvey Community Team
-
- Posts: 13146
- Thank you received: 2423
For example :
'log' => array( 'routes' => array( 'allError' => array( 'class' => 'CFileLogRoute', 'levels' => 'warning, error', ), ) ),
See extensions.sondages.pro/mailing-manageme...-the-plugin-activity too.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
I made the following settings in the config.php file, but an error occurred.
Property "LSYii_Application.log" is not defined.
C:\usr\xampp\htdocs\limesurvey\framework\base\CModule.php(520)
508 $this->setComponent($id,$component,$merge);
509 }
510
511 /**
512 * Configures the module with the specified configuration.
513 * @param array $config the configuration array
514 */
515 public function configure($config)
516 {
517 if(is_array($config))
518 {
519 foreach($config as $key=>$value)
520 $this->$key=$value;
521 }
522 }
523
524 /**
525 * Loads static application components.
526 */
527 protected function preloadComponents()
528 {
529 foreach($this->preload as $id)
530 $this->getComponent($id);
531 }
Please let me know if there are missing settings.
- RAJKUMARRG
-
- Offline
- New Member
-
- Posts: 1
- Thank you received: 0
- DenisChenu
-
- Offline
- LimeSurvey Community Team
-
- Posts: 13146
- Thank you received: 2423
Yep,olle wrote: 'log' config should be part of 'components' config, I think.
Updated here : manual.limesurvey.org/Optional_settings#Logging_settings
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.