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.

Reply via email to