[web2py] Re: Adding application specific data to httpserver.log ?

2012-02-07 Thread JC11
Thank you, Would there be any harm in adding environ['QUERY_STRING'] httpserver.log as a change in your main.py source code ? This would solve my issue and perhaps help others by giving a little more detail in the logs which for REST type applications will be very useful. One line added and t

[web2py] Re: Adding application specific data to httpserver.log ?

2012-02-05 Thread Massimo Di Pierro
The logging is done by appfactory, in main.py at around line 700. appfactory is a wsgi middleware that wraps wsgibase (the main web2py wsgi app). Anything passed in the http headers can be logged. On Feb 5, 10:22 am, JC11 wrote: > Hello, > > I need to add logging to my application. Out of the b