change the default logging level of deferred

48 views
Skip to first unread message

working

unread,
Jan 1, 2013, 1:18:30 AM1/1/13
to google-a...@googlegroups.com
Dear all,

I would like to change the default logging level of deferred from INFO to DEBUG.
How could I do it?
Thanks a lot!

ps, I am using the python27

Takashi Matsuo

unread,
Jan 3, 2013, 3:38:21 PM1/3/13
to google-a...@googlegroups.com

Hi working,

Here is the code snippet for you :)

import logging
from google.appengine.ext import deferred

deferred.set_log_level(logging.DEBUG)

-- Takashi


--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/kxR_fXlfKqgJ.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.



--
Takashi Matsuo | Developers Advocate | tma...@google.com

working

unread,
Jan 4, 2013, 11:22:22 PM1/4/13
to google-a...@googlegroups.com
Hi Takashi,

Thank you so much!
Another related question is that /_ah/warmup is also using logging.INFO . Since it is introduced in app.yaml, how could I change the logging for warmup?

- working
Reply all
Reply to author
Forward
0 new messages