pauel
pauel

Reputation: 906

Sugarcrm logging

I have an installation of sugarcrm and my logs have debug entries even if the logging level is set to fatal. What causes the logger to ignore the settings? I searched for code that overrides the logging level but didn't find anything like that.

Seems to be a problem that is only occuring on REST api calls.

Upvotes: 0

Views: 3009

Answers (2)

pauel
pauel

Reputation: 906

The answer lies in the SugarCRM Version. I used 5.5.4 for this and there is $GLOBALS['log']->setLevel('debug'); in line 44 of service/core/webservice.php.

at least since version 6.2 it's gone .-)

Upvotes: 1

jmertic
jmertic

Reputation: 2208

Are you sure there isn't a conflicting log setting getting in the way here, perhaps in the config.php, or config_override.php file?

Upvotes: 0

Related Questions