About logs file in LimeSurvey

More
1 year 2 months 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 or Create an account to join the conversation.

More
1 year 2 months 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 or Create an account to join the conversation.

More
1 year 2 months 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 or Create an account to join the conversation.

More
7 months 3 days 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 or Create an account to join the conversation.

More
3 months 3 days ago #168669 by RAJKUMARRG
RAJKUMARRG replied the topic: About logs file in LimeSurvey
Is this resolved? I too have the same issue

Please Log in or Create an account to join the conversation.

More
3 months 3 days ago #168675 by ollehar
ollehar replied the topic: About logs file in LimeSurvey
'log' config should be part of 'components' config, I think.

Please Log in or Create an account to join the conversation.

More
3 months 2 days ago #168716 by DenisChenu
DenisChenu replied the 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 (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 or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!