[google-appengine] Re: How logging [doesnt?] work?

2010-08-04 Thread Hamlet D'Arcy
I had this same problem as well, but only in production.


For future readers: In the admin console, you need to pick the
application you are looking at AND the version you want to see.

It took us quite a while to figure out there are 2(!) drop down lists
to manipulate.




On Jul 19, 9:40 am, l.denardo lorenzo.dena...@gmail.com wrote:
 The listed behavior seems to work in production only.
 I haven't been able to write output on standard streams in development
 too.

 Anyway you can simply log the required output with the appropriate log
 level, and it will be prompted to your console ifloggingproperties
 are correctly set.

 Regards
 Lorenzo

 On Jul 18, 2:03 am, kab kbo...@als.com wrote:



  In the doc: Java Servlet Environment Logging, this statement
  appears:

  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.

  This isn't happening for me: none of my app's (development) System.out
  messages appear, even when I set the Console Main  Logs severity to
  Debug.  Note that I have alogging.properties file in WEB-INF whose
  content is

  .level = INFO

  and my appengine-web.xml contains

  system-properties
          property name=java.util.logging.config.file value=WEB-INF/
 logging.properties/
  /system-properties

  What am I missing here?
  Thanks in advance,
  Ken Bowen

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



[google-appengine] Re: How logging [doesnt?] work?

2010-07-19 Thread l.denardo
The listed behavior seems to work in production only.
I haven't been able to write output on standard streams in development
too.

Anyway you can simply log the required output with the appropriate log
level, and it will be prompted to your console if logging properties
are correctly set.

Regards
Lorenzo

On Jul 18, 2:03 am, kab kbo...@als.com wrote:
 In the doc: Java Servlet Environment  Logging, this statement
 appears:

 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.

 This isn't happening for me: none of my app's (development) System.out
 messages appear, even when I set the Console Main  Logs severity to
 Debug.  Note that I have a logging.properties file in WEB-INF whose
 content is

 .level = INFO

 and my appengine-web.xml contains

 system-properties
         property name=java.util.logging.config.file value=WEB-INF/
 logging.properties/
 /system-properties

 What am I missing here?
 Thanks in advance,
 Ken Bowen

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