-
-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error reporting by logging.config.fileConfig() #50648
Comments
Hi, [logger_Builder] And I couldn't understand why all my log messages were coming out twice. Wouldn't it be better if spurious names raised parsing exceptions? Thanks, P.S. Another thing that might have helped me track this down a little |
Ignoring unknown options in the configuration file is analogous to But IMO this is not a bug; changing the behavior would be a feature request. |
Fair point. Agree that this is a feature request. Perhaps something like: logging.config.fileConfig(path, strict=False) |
I'm not sure that this is a valid feature request. As R. David Murray The appearance of multiple messages pretty much points to multiple |
Sorry, I only started learning Python a couple of weeks ago. Didn't Interesting you should mention Postel's Law. Being liberal about what I can think of two ways ConfigParser could report these problems. If ConfigParser had this functionality it would then be straightforward |
Well, there are other systems around (e.g. ConfigObj) which will allow I'm not sure how much interest there'd be in adding this kind of |
Hi Vinay, |
Mike, That's just fine. Sorry if I appear unhelpful, but in the open source Best of luck with it. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: