RFE: allow to selectively disable loggers from command-line
See original GitHub issueA common debugging strategy is to study the logs. But sometimes the program issues excessive logging messages, necessitating the selective disabling of babbler loggers.
This SO captures the crux & solution of this Request For Enhancement: https://stackoverflow.com/a/57002853/548792
Although the proposed SO solution of a new --disable-log
option works perfectly fine,
it is annoying to have to patch every new project,
plus, it does not support auto-completion e.g. on bash.
- Would it make sense to include such capability into core code?
In any case, I’m suggesting the new option to be called --logger-disabled
,
to fit with the existing option names starting with --log-...
.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:9 (6 by maintainers)
Top Results From Across the Web
1542326 – [RFE] Ability to disable listing projects when ...
Bug 1542326 - [RFE] Ability to disable listing projects when logging into a cluster from command line. Summary: [RFE] Ability to disable listing...
Read more >Disabling specific logger in pytest - python - Stack Overflow
This can be done by setting --log-cli-level=DEBUG . However, this turns on messages from all code, also pdfplumber - which is very verbose...
Read more >Logging Cookbook — Python 3.11.1 documentation
Let's say you want to log to console and file with different message formats and in differing circumstances. Say you want to log...
Read more >Apache log4j 1.2 - Short introduction to log4j
The ability to selectively enable or disable logging requests based on their logger is only part of the picture. Log4j allows logging requests...
Read more >Untitled
Bump verison to 1.3.8.4-10 - Resolves: Bug 1614501 - Disable nunc-stans by ... Resolves: #1493181 - RFE: mod_ssl: allow sending multiple CA names...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Please, be my guest.
@nicoddemus 7.2 is released now, but somehow this change is not part of it, contrary to your comment in #7873?
Please let me know when this is planned to be released, or what is missing so @itxasos23 or myself could finish this. 😸 Thanks!