Hi,
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 (priot to setting
up
the logger etc). In this hierarchical config scenario:
[logging] --> [[handlers]] --> [[[access_out]]]
--> ...
and
[logging] --> [[handlers]] --> [[[error_out]]]
--> ...
how can one use onfig.update() to "update" the
"args"
config at runtime - ensuring there is no namespace
collision between both the cases.
Thanks,
/venkat
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|