function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AbAb 

unable to modify debug logs

User-added image

Hello,

When i click "change log levels" i get this exceoption.*

I am not able to add the users ..it gives error like below

User-added image
 
Best Answer chosen by Ab
Deepak Pandey 13Deepak Pandey 13
1 - Setting log levels in Developer Console(Workspace=>Change Log Levels) to lowest possible (ERROR) on all options.
2 - Whenever calling our system.debug, we use: System.debug(LoggingLevel.ERROR, ''our message'' );

We got from a log file of 1.9MB to 1Kb!!!
 

All Answers

Deepak Pandey 13Deepak Pandey 13
hi Sandrine..
click on setup- debug log 
 set debug log name "SFDC_DevConsole" and date and time.
AbAb
i have done it, but still i have error
Deepak Pandey 13Deepak Pandey 13
1 - Setting log levels in Developer Console(Workspace=>Change Log Levels) to lowest possible (ERROR) on all options.
2 - Whenever calling our system.debug, we use: System.debug(LoggingLevel.ERROR, ''our message'' );

We got from a log file of 1.9MB to 1Kb!!!
 
This was selected as the best answer