Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

About logs file in LimeSurvey

  • toanhd005
  • toanhd005's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 9 months ago #155177 by toanhd005
About logs file in LimeSurvey was created by toanhd005
Hello everyone,

I have question.
How to write logs in LimeSurvey to a file?
How can i get logs file in LimeSurvey?

Thanks,
The topic has been locked.
More
6 years 9 months ago #155179 by Ben_V
Replied by Ben_V on topic About logs file in LimeSurvey

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)
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 9 months ago #155663 by DenisChenu
Replied by DenisChenu on topic About logs file in LimeSurvey
You can use Yii here www.yiiframework.com/doc/api/1.1/CFileLogRoute

For example :
Code:
'log' => array(
    'routes' => array(
      'allError' => array(
        'class' => 'CFileLogRoute',
        'levels' => 'warning, error',
      ),
 
    )
  ),
in config.php file.

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.
The topic has been locked.
More
6 years 2 months ago #162544 by nabeshima
Replied by nabeshima on topic About logs file in LimeSurvey
Hello everyone,

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.
The topic has been locked.
More
5 years 10 months ago #168669 by RAJKUMARRG
Replied by RAJKUMARRG on topic About logs file in LimeSurvey
Is this resolved? I too have the same issue
The topic has been locked.
  • ollehar
  • ollehar's Avatar
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
5 years 10 months ago #168675 by ollehar
Replied by ollehar on topic About logs file in LimeSurvey
'log' config should be part of 'components' config, I think.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 10 months ago #168716 by DenisChenu
Replied by DenisChenu on topic About logs file in LimeSurvey

olle wrote: 'log' config should be part of 'components' config, I think.

Yep,

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.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose