Question on PEP 337

G

Gabor Urban

Hy guys,

this PEP is very well written, and I have found the discussion inspiring.

Every time I use the logging module, I have the configuration hardcoded in
the application. That is why I never used the configuration file based
approach. Now I will give it a try.....

I think we should discuss the following scenario (it was not clear in the
PEP for me) : an application has the logging configuration in a config file
and it is currently running. The user edits this file, so the configuiration
in the running process should be changed.
-- How will be the logging mechanism reconfigured?
-- How can the logging module guarantee that there will be no data loss
during the reconfiguration process?


Regards,
Gabor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,169
Messages
2,570,920
Members
47,462
Latest member
ChanaLipsc

Latest Threads

Top