You need to sign in to do that
Don't have an account?
loneboat
Logging Levels in Developer Console having no effect...
I'm trying to pick through some debug logs. I would REALLY LIKE to be able to filter the verbosity of the logs. I tried changing the settings for everything to "Error", but I'm still seeing a lot of junk in the logs (e.g. validation rules). See screenshot.
Why am I seeing everything, despite having set the logging levels to Error?
Note that I'm seeing this behavior in both the Developer Console in my browser AND in the Force.com IDE Apex Test Runner pane.
Well, I played around with this all morning, and couldn't get what I wanted. I finally changed tack and wrote a script which, when you press Ctrl-Alt-d, filters out all lines which contain the text "USER_DEBUG", writes them to a text file, and then opens that text file. So now I can run my test in the IDE, press Ctrl-Alt-d, and then see ONLY my own debug lines.
Kind of a hack, but it works. :-) Code is below if anyone else wants to try it out:
You'll need to install the [open-source] scripting tool "Autohotkey" for this to work, and save the above script with an ".ahk" extension.
All Answers
Well, I played around with this all morning, and couldn't get what I wanted. I finally changed tack and wrote a script which, when you press Ctrl-Alt-d, filters out all lines which contain the text "USER_DEBUG", writes them to a text file, and then opens that text file. So now I can run my test in the IDE, press Ctrl-Alt-d, and then see ONLY my own debug lines.
Kind of a hack, but it works. :-) Code is below if anyone else wants to try it out:
You'll need to install the [open-source] scripting tool "Autohotkey" for this to work, and save the above script with an ".ahk" extension.
Hello,
I am also experiencing the same problem. The code you have provided is surely a solution for it.
But debug log filters are not working the way they are supposed to work. Is it a bug in debug log filters ? Or, are we unable to make it work properly ?
Yogesh, you might find this useful: http://stackoverflow.com/questions/11635043/salesforce-debug-log-filters-stuck-and-will-not-change
I was having the same problem, but the problem was that I was trying to debug some test methods, and test methods run with a pre-defined set of log levels that you can't alter. (Vote to have this fixed! http://success.salesforce.com/ideaView?id=08730000000iKMpAAM)