Logs getting printed in System.debug from Logger methods in Apex #583
Unanswered
Kritarth-Sachdeva
asked this question in
Q&A
Replies: 1 comment
-
Hi @Kritarth-Sachdeva - so sorry for the late response! Were you able to figure out this issue? I tried to reproducing it, but everything seems to be working for me. I also reviewed the code for If you're still experiencing this issue, could you try running this anonymous Apex script in your org & share the results? System.debug('settings.IsApexSystemDebugLoggingEnabled__c== ' + Logger.getUserSettings().IsApexSystemDebugLoggingEnabled__c);
System.debug('settings.LoggingLevel__c== ' + Logger.getUserSettings().LoggingLevel__c);
Logger.info('test print log');
System.debug('just ran Logger.info(\'test print log\');'); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are using v4.11.2 unmanaged package.
On writing below line in apex, logs are getting printed in System.debug as well, even though 'Enable Apex System.debug()' is unchecked in Logger settings.
Logger.info('test print log');
Is it possible to stop the printing of logs in System logs or will they always be printed, is any configuration change required for this?
Any guidance will be much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions