+ Start a Discussion
SandrineSandrine 

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 Sandrine
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.
SandrineSandrine
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