Hi,
This is a two part question.

Firstly, I'd like to consistently log exceptions from controller
methods to a file - at the moment they're not logged at all when debug
= true, and they're logged to to stderr when in production.

Although I could redirect stderr to a file, I'd ideally like control
over the formatting and so on - the same sort of controls given for
standard logging.

Secondly, how do I customise the error handling code from various
exposed methods? I'm used to error and exception handler decoration in
TG1: what's the analog in TG2?

Thanks!
James
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to