Re: [appengine-java] logging using System.err System.err
Are you sure your logging is configured to write at INFO level? You might have to change your war/WEB-INF/logging.properties file (or whereever this file is defined by system-properties property name=java.util.logging.config.file value=WEB-INF/ logging.properties/ /system-properties in your appengine-web.xml On 6 Jun 2010, at 13:12, Prashant Gupta wrote: Hi, Docs say Everything the servlet writes to the standard output stream (System.out) and standard error stream (System.err) is captured by App Engine and recorded in the application logs. Lines written to the standard output stream are logged at the INFO level, and lines written to the standard error stream are logged at the WARNING level. --http://code.google.com/appengine/docs/java/runtime.html#Logging I tried following code: ... System.err.println(Written on err); System.err.print(Written on err without next line); System.out.println(Written on out); System.out.print(Written on out without next line); ... got only .stderr: Written on err without next lineWritten on err in logs, and no logging for System.out. Is it a bug? Thanks, Prashant -- 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 . -- 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-j...@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.
Re: [appengine-java] logging using System.err System.err
what is the level lower then INFO ? can you tell me in brief what does .level = WARNING in logging file. sorry for a noob question :| Thanks, Prashant On 6 June 2010 17:45, John Patterson jdpatter...@gmail.com wrote: Theres your problem... you need to set the level to INFO or lower On 6 Jun 2010, at 19:06, Prashant Gupta wrote: i am using default template which comes with eclipse plugin: // file : appengine-web.xml !-- Configure java.util.logging -- system-properties property name=java.util.logging.config.file value=WEB-INF/logging.properties/ /system-properties // file : logging.properties .level = WARNING -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- 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-j...@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.