yes, it is definitely possible to change much of the logging format.
there are a couple of things you need to know:

1) the logging.basicConfig() call only works when no root logging
handler has been created. by the time your code has executed, it has
already been created (by the dev server), so your request was ignored.

2) you have no control of #1, so you have to change the log format
"manually." see this link for steps on how to get access to the
existing handler and to change the formatting (both the output as well
as the date format if desired):
http://stackoverflow.com/questions/2557168

3) it's more restricted when running in the live production
environment -- there, you can still change the output format string,
but you can't change the date format. (i mean you, *can*, but the
request has no effect as the date format stays as MM-DD HH:MMAP
SS.SSS.)

hope this helps!
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"Core Python Programming", Prentice Hall, (c)2007,2001
"Python Fundamentals", Prentice Hall, (c)2009
   http://corepython.com

wesley.chun : wesc+api at google.com : @wescpy
developer relations :: google app engine
@app_engine :: googleappengine.blogspot.com

-- 
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.

Reply via email to