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
Sumesh ChandranSumesh Chandran 

System.debug not showing on logs

I have been having a wierd issue for sometime now, I am not getting any system.debug messages on my logs, instead I get a lot of not useful stuff. I am trying to print out the value of 'stat' here, it doesn't work at all.
sumchans__City_Stat__c stat = new sumchans__City_Stat__c();
stat.sumchans__ON_BILLINGS__c = onBillings;
stat.sumchans__OFF_BILLINGS__c = offBillings;             stat.sumchans__TOTAL_INTERNET_OFFERINGS__c = internetOfferings;
stat.sumchans__TOTAL_VIDEO_OFFERINGS__c = videoOfferings;
stat.sumchans__TOTAL_PHONE_OFFERINGS__c = phoneOfferings;
cityStats.add(stat);
System.debug(stat);
And here is the full log list. I done want any of these messages as of now, what I am only looking for is the System.debug messages.
Plz advise!
Logs
 
Naga  AlapatiNaga Alapati
Hi Sumesh,

You can filter the debug logs by checking the checkbox "Debug only" in developer console.

User-added image

Also, check for the debug level for Apex code. Go to Setup > Type "debug" in quick find > Debug Levels > look for the level that your user record is using and check for the level for Apex code and update it to Debug and try it again.


Regards,
Naga
Sumesh ChandranSumesh Chandran
Hello Naga, The below is what I have as settings as of now, still it doesn't show System.debug messages.
User-added imageUser-added image
gary jenngary jenn
Nice information and thanks for sharing this to us. Online reviews are very important and popular at present. Here you can get details of best product reviews to buy a product. https://reviewstar.pro
lingutla sowmya 9lingutla sowmya 9
Change the Log level to DEBUG for Apex code and System . rest all others to INFO that will work