+ Start a Discussion
FilipFilip 

System Log Levels

Dear colleagues,

 

I am struggling with the debug log detail while using opensource JSONObject code. I am processing a fairly short JSON string, but the log overfills and I cannot see my own messages appearing later on.

 

Here is a screenshot:

  

20090203160403.602:Class.JSONObject.JSONTokener.nextString: line 1181, column 17: returning String from method public String next() in 0 ms20090203160403.602:Class.JSONObject.JSONTokener.next: line 1043, column 17: returning String from method String read(String) in 0 ms20090203160403.602:Class.JSONObject.JSONTokener.nextString: line 1181, column 17: returning String from method public String next() in 1 ms20090203160403.602:Class.JSONObject.JSONTokener.next: line 1043, column 17: returning String from method String read(String) in 0 ms20090203160403.602:Class.JSONObject.JSONTokener.nextString: line 1181, column 17: returning String from method public String next() in 1 ms20090203160403.602:Class.JSONObject.JSONTokener.next: line 1043, column 17: returning String from method String read(String) in 0 ms20090203160403.602:Class.JSONObject.JSONTokener.nextString: line 1181, column 17: returning String from method public String next() in 0 ms20090203160403.602:Class.JSONObject.JSONTokener.next: line 1043, column 17: returning String from method String read(String) in 0 ms20090203160403.602:Class.JSONObject.JSONTokener.nextString: line 1181, column 17: returning String from method public String next() in 0 ms20090203160403.602:Class.JSONObject.JSONTokener.next: line 1043, column 17: returning String from method String read(String) in 0 ms20090203160403.602:Class.JSONObject.JSONTokener.nextString: line 1181, column 17: returning String from method public String next() in 0 ms20090203160403.602:Class.JSONObject.JSONTokener.next: line 1043, column 17: returning String from method String read(String) in 0 ms20090203160403.602:Class.JSONObject.JSONTokener.nextString: line 1181, column 17: returning String from method public String next() in 1 ms20090203160403.602:Class.JSONObject.JSONTokener.next: line 1043, column 17: returning String from method String read(String) in 0 ms20090203160403.602:Class.JSONObject.JSONTokener.nextString: line 1181, column 17: returning String from method public String next() in 0 ms20090203160403.602:Class.JSONObject.JSONTokener.next: line 1043, column 17: returning String from method String read(String) in 0 ms20090203160403.602:Class.JSONObject.JSONTokener.nextString: line 1181, column 17: returning String from method public String next() in 0 ms20090203160403.602:Class.JSONObject.JSONTokener.next: line 1043, column 17: returning String from method String read(String) in 0 ms20090203160403.602:Class.JSONObject.JSONTokener.nextString: line 1181, column 17: returning String from method public String next() in 0 ms20090203160403.602:Class.JSONObject.JSONTokener.next: line 1043, column 17: returning String from method String read(String) in 0 ms20090203160403.602:Class.JSONObject.JSONTokener.nextString: line 1181, column 17: returning String from method public String next() in 1 ms20090203160403.602:Class.JSONObject.JSONTokener.next: line 1043, column 17: returning String from method String read(String) in 0 ms20090203160403.602:Class.JSONObject.JSONTokener.nextString: line 1181, column 17: returning String from method public String next() in 0 ms20090203160403.602:Class.JSONObject.JSONTokener.next: line 1043, column 17: returning String from method String read(String) in 0 ms20090203160403.602:Class.JSONObject.JSONTokener.nextString: line 1181, column 17: returning String from method public String next() in 0 ms20090203160403.602:Class.JSONObject.JSONTokener.next: line 1043, column 17: returning String from method String read(String) in 0 ms20090203160403.602:Class.JSONObject.JSONTokener.nextString: line 1181, column 17: returning String from method public String next() in 1 ms20090203160403.602:Class.JSONObject.JSONTokener.next: line 1043, column 17: returning String from method String read(String) in 0 ms20090203160403.602:Class.JSONObject.JSONTokener.nextString: line 1181, column 17: returning String from method public String next() in 1 ms20090203160403.602:Class.JSONObject.JSONTokener.next: line 1043, column 17: returning String from method String read(String) in 0 ms20090203160403.602:Class.JSONObject.JSONTokener.nextString: line 1181, column 17: returning String from method public String next() in 1 ms20090203160403.602:Class.JSONObject.JSONTokener.next: line 1043, column 17: returning String from method String read(String) in 0 ms*********** MAXIMUM DEBUG LOG SIZE REACHED **************

 

 

I checked the places in the code (lines 1043 and 1181), but there is no explicit system.debug that I can suppress.

Is there any way how to filter this out?

 

Many thanks

 

Filip 

 

  

rmolekillarmolekilla

any news on this?

 

we can't disable the log rows added when function returns,

we can't change the debug log limit

so basically after using jsonobject, we are in the dark...

Thomas StrohThomas Stroh

Also check on the status of these Debug Log limits! We are at an impasse without getting USEFUL debug output ... any input would be greatly appreciated!

 

Thanks