About logs file in LimeSurvey

More
8 months 4 weeks ago #155177 by toanhd005
toanhd005 created the topic: About logs file in LimeSurvey
Hello everyone,

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

Thanks,

Please Log in to join the conversation.

More
8 months 4 weeks ago #155179 by Ben_V
Ben_V replied the 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)

Please Log in to join the conversation.

More
8 months 2 weeks ago #155663 by DenisChenu
DenisChenu replied the topic: About logs file in LimeSurvey
You can use Yii here www.yiiframework.com/doc/api/1.1/CFileLogRoute

For example :
'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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: LouisGac

Please Log in to join the conversation.

More
1 month 1 week ago #162544 by nabeshima
nabeshima replied the 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.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!