You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
or as I have it now, where the Logger middleware attaches itself to the request, and is used as a proxy for the internal logger?
def__call__(self, req, res):
req.log=self
Also, I'm open for suggestions on best ways to format the log prefix, or at least allowing the user to chose the format.
I'll probably visit this after I figure out the event system, the goal being the ability to log the response status code and content size after being sent.
This project is interesting to me.
I think python's library should not use root logger like:
refs: http://pieces.openpolitics.com/2012/04/python-logging-best-practices/
Would you replace root logger like:
The text was updated successfully, but these errors were encountered: