I'm hoping to start using the logging system in earnest soon, but
unfortunately http://docs.turbogears.org/1.0/LoggingSystem is quite
vague, and the Python docs it refers to are also quite abstract, so
it's hard to work out quite what is going on.

In particular:

 - what does a typical quick-started project make for you? I can see
the entries in dev.cfg and log.cfg, but what objects are actually
created, and in which module/namespace? Is it several objects, or one
object (called 'log'? It's not clear) where the output is piped to
each of the various handlers?

 - the start of the doc recommends explicitly creating a log object,
but I don't know how (and if) this corresponds to anything in the
config files above. And it seems a little odd for the doc to recommend
this method when a quick-started project seems to come with stuff
predefined. How do I access the predefined stuff?

--
Ben Sizer



--~--~---------~--~----~------------~-------~--~----~
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