I found the Logger docs for GAE at: http://code.google.com/appengine/docs/java/runtime.html#Logging
I'm definitely getting output now from Stdout but I can't seem to get logger.log() to work. I'll fiddle with it and log a separate issue if I can't get it to work. Thanks for the help Don! On Sep 18, 10:27 pm, Diana Cruise <diana.l.cru...@gmail.com> wrote: > Yes, I tried all the levels in the Console. It must be the properties > file. I noticed the plugin created the log4j.properties in the src > folder and the contents are below. How do I set the default level in > this file? Thanks. > > # A default log4j configuration for log4j users. > # > # To use this configuration, deploy it into your application's WEB-INF/ > classes > # directory. You are also encouraged to edit it as you like. > > # Configure the console as our one appender > log4j.appender.A1=org.apache.log4j.ConsoleAppender > log4j.appender.A1.layout=org.apache.log4j.PatternLayout > log4j.appender.A1.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p [%c] > - %m%n > > # tighten logging on the DataNucleus Categories > log4j.category.DataNucleus.JDO=WARN, A1 > log4j.category.DataNucleus.Persistence=WARN, A1 > log4j.category.DataNucleus.Cache=WARN, A1 > log4j.category.DataNucleus.MetaData=WARN, A1 > log4j.category.DataNucleus.General=WARN, A1 > log4j.category.DataNucleus.Utility=WARN, A1 > log4j.category.DataNucleus.Transaction=WARN, A1 > log4j.category.DataNucleus.Datastore=WARN, A1 > log4j.category.DataNucleus.ClassLoading=WARN, A1 > log4j.category.DataNucleus.Plugin=WARN, A1 > log4j.category.DataNucleus.ValueGeneration=WARN, A1 > log4j.category.DataNucleus.Enhancer=WARN, A1 > log4j.category.DataNucleus.SchemaTool=WARN, A1 > > On Sep 18, 10:13 pm, Don Schwarz <schwa...@google.com> wrote: > > > > > Are you switch the logging level in the Admin Console to Info? By default > > it only shows errors. > > > Do you have a logging.properties file? If so, what is your default .level > > set to? System.out would be logged at INFO, so if you are specifying this > > make sure it is INFO or lower. > > Finally, I would recommend using java.util.logging instead of System.out. > > It's a lot more flexible and is very easy to use. > > > On Fri, Sep 18, 2009 at 10:09 PM, Diana Cruise > > <diana.l.cru...@gmail.com>wrote: > > > > I'm having difficulty debugging my application in production. > > > According to the GAE docs, System.out.println output is directed as > > > log level INFO. My home page generates such output when debugging in > > > my test local environment. But, my deployment to production generates > > > NO output. Using the Admin Console->Log I can see my Requests but NOT > > > my standard output from println(). How can I see this output? Is it > > > just NOT being flushed or is there a config for this? > > > > Thanks, Diana- Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---