i don't use logging.conf.  either i'm not smart enough or something else 
went wonky.  with no logging.conf i got everything info (perhaps debug i 
can't remember) and higher.

one day i decided i did not want the logging from gluon and debug logging.  
the only way i could restrict that was by modifying gaehandler.py  (i did 
not submit a patch cause i'm not convinced it was the right way to fix 
it).  anyhow, i did the following at about line 74 in gaehandler.py:

#logging.basicConfig(level=logging.INFO)
#access the GAE logging handler and set level to ignore debug logs
logging.getLogger().handlers[0].setLevel(logging.INFO)

good luck!

cfh

On Monday, May 21, 2012 9:06:41 AM UTC-7, castanets wrote:
>
> I deployed a very simple web2py app in order to check logging on gae. 
> I just followed the guide of "logging.example.conf" which is in web2py 
> package. 
> But I failed logging on gae. It was very easy to do with "hello world" gae 
> example. 
> Please let me know if there is something to do. 
>
>

Reply via email to