Hi,

My application logs DEBUG messages [logger.debug("debug message")] using java.util.logging; to enable debug level, I added this line to logging.properties file:

# File: logging.properties.
.level = ALL

This works fine, but a ton of other messages also get printed, probably from GAE code.

So, here is my question:
How do you disable printing of GAE's DEBUG messages, but enable the applications DEBUG messages?

I'm a newbie to java.util.logging, searched about logging.properties, finding that log level for packages can be controlled such as:

# File: logging.properties.
com.some.package.level = WARNING

How do I know which package name should be use to control GAE's DEBUG messages.

Following snippet shows DEBUG messages seeming to be come from GAE code, for which I'd like to raise the permitted loglevel to INFO

8 Oct, 2010 6:31:22 AM com.google.apphosting.utils.jetty.JettyLogger debug
FINE: TLD search of file:/home/kayo/projects/flashToHtml5Converter/workspace/Fh5Portal/WEB-INF/lib/jruby-core-1.5.3.jar
8 Oct, 2010 6:31:22 AM com.google.apphosting.utils.jetty.JettyLogger debug
FINE: TLD search of file:/home/kayo/projects/flashToHtml5Converter/workspace/Fh5Portal/WEB-INF/lib/appengine-api-1.0-sdk-1.3.7.jar
8 Oct, 2010 6:31:22 AM com.google.apphosting.utils.jetty.JettyLogger debug
FINE: TLD search of file:/home/kayo/projects/flashToHtml5Converter/workspace/Fh5Portal/WEB-INF/lib/jruby-rack-1.0.3.jar
8 Oct, 2010 6:31:22 AM com.google.apphosting.utils.jetty.JettyLogger debug
FINE: TLD found jar:file:/home/kayo/projects/flashToHtml5Converter/workspace/Fh5Portal/WEB-INF/lib/jruby-rack-1.0.3.jar!/META-INF/jruby-rack.tld
8 Oct, 2010 6:31:22 AM com.google.apphosting.utils.jetty.JettyLogger debug
FINE: TLD search of file:/home/kayo/projects/flashToHtml5Converter/workspace/Fh5Portal/WEB-INF/lib/appengine-rack.jar

BTW, I'm using JRUBY but assume that this question is the same as for java because its the java code displaying DEBUG log messages.

THANKS,

Kayo.

--
You received this message because you are subscribed to the Google Groups "Google 
App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to