Hi,

I have logging cfg very similar to what is described in:
  http://docs.turbogears.org/1.0/LoggingSystem

For example, assume there is config like this:

--------------
...
[logging]
[[formatters]]
[[[message_only]]]
format='*(message)s'
...

[[handlers]]
...
[[[access_out]]]
class='StreamHandler'
level='INFO'
## args='(sys.stdout,)'
formatter='message_only'

[[[error_out]]]
class='StreamHandler'
level='ERROR'
## args='(sys.stdout,)'
....
--------------

Rather than specifying the info for "args" here, I'd like to
specify it in the application during init (setting up the
logger etc). In this hierarchical config scenario:
  [logging]  -->  [[handlers]]  --> [[[access_out]]]
and
  [logging]  -->  [[handlers]]  --> [[[error_out]]]
how can one specify the "args" config at runtime
(config.update()) ensuring there is no namespace
collision between both the cases.

Thanks,
/venkat


How do I specify the exact


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