Am 12.01.2011 00:40 schrieb Sam:
log.exception("CherryPy %s error (%s) for request '%s'", status, error_msg, url)needs to read: log.exception("CherryPy %s error (%s) for request '%s'" % (status, error_msg, url))
I don't think that needs to be changed. The former works and is even a bit faster. See http://docs.python.org/library/logging.html?highlight=logger.debug#logging.Logger.debug (same holds true for lg.exception).
I find having the user-agent extremely useful in debugging what caused the error.
Is this not part of the error email?
If we're going to do a TG 1.6 - I think it would be great to have catch all error-reporting as an option in the quickstart, just like identity. I could maybe find time to make a go at it - if everyone thinks it's a great idea - and a TG 1.6 is actually going to be made.
This could go into 1.5.1, but before adding to the quickstart templates, http://trac.turbogears.org/ticket/1640 should be solved. -- Christoph -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

