[appengine-java] Re: Logging Levels....
I'm getting the impression I'm missing something ridiculously simple here. The logging levels I see access to (which show up in the log interface in the GAE dashboard) are: java.util.logger.Level.INFO -- Info java.util.logger.Level.WARNING -- Warning java.util.logger.Level.SEVERE -- Error But there also seems to be something for: Debug = Critical = Of particular interest to me is the Debug level, as I'd love to be able to use it if possible when I'm wanting debugging output on an app engine file, however I'm kinda stuck here. I've looked, and it appears these are levels in the Log4J system for apache, but if there is a way to have those other additional levels without using Log4J, I'd like to know. On Sat, Aug 22, 2009 at 1:12 PM, Xlorep DarkHelm ch...@darkhelm.org wrote: I'm in search of a way to get the non-standard (that is, not java logging) levels which are apparently used in GAE/J. Like fatal, and debug (specifically, I'd like to use the debug level). I'm having a heck of a time doing this... do I need to make my own Level class derived from the java base one, and make my own debug and fatal levels? -- I'm not responcabel fer my computer's spleling errnors - Xlorep DarkHelm Website: http://darkhelm.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: Logging Levels....
The mappings for java.util.logging levels to GAE log levels are: level = SEVERE - Error level = WARNING - Warn level = INFO - Info else Debug We reserve the Critical level for errors such as escaping ServletExceptions (e.g. errors that would cause 500s). So, for example, if you want to log at GAE's Debug level, you should be able to use Level.FINE, FINER, or FINEST (or even CONFIG). On Mon, Aug 24, 2009 at 1:12 PM, Cliff Hill ch...@darkhelm.org wrote: I'm getting the impression I'm missing something ridiculously simple here. The logging levels I see access to (which show up in the log interface in the GAE dashboard) are: java.util.logger.Level.INFO -- Info java.util.logger.Level.WARNING -- Warning java.util.logger.Level.SEVERE -- Error But there also seems to be something for: Debug = Critical = Of particular interest to me is the Debug level, as I'd love to be able to use it if possible when I'm wanting debugging output on an app engine file, however I'm kinda stuck here. I've looked, and it appears these are levels in the Log4J system for apache, but if there is a way to have those other additional levels without using Log4J, I'd like to know. On Sat, Aug 22, 2009 at 1:12 PM, Xlorep DarkHelm ch...@darkhelm.orgwrote: I'm in search of a way to get the non-standard (that is, not java logging) levels which are apparently used in GAE/J. Like fatal, and debug (specifically, I'd like to use the debug level). I'm having a heck of a time doing this... do I need to make my own Level class derived from the java base one, and make my own debug and fatal levels? -- I'm not responcabel fer my computer's spleling errnors - Xlorep DarkHelm Website: http://darkhelm.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: Logging Levels....
On Aug 24, 8:08 pm, Toby Reyelts to...@google.com wrote: The mappings for java.util.logging levels to GAE log levels are: level = SEVERE - Error level = WARNING - Warn level = INFO - Info else Debug We reserve the Critical level for errors such as escaping ServletExceptions (e.g. errors that would cause 500s). So, for example, if you want to log at GAE's Debug level, you should be able to use Level.FINE, FINER, or FINEST (or even CONFIG). Wow, this just shows how bad the jul API is. There are these level that you can't explain unless you put them all into a bag and give them a different level which doesn't exist. Cheers Philippe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---