Skip to content

RFE: allow to selectively disable loggers from command-line #7431

Description

@ankostis

A 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-....

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

good first issueeasy issue that is friendly to new contributorplugin: loggingrelated to the logging builtin plugintopic: configrelated to config handling, argument parsing and config filetype: enhancementnew feature or API change, should be merged into features branch

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions