Skip to content
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

Feature request: change logging level on demand via chatops #169

Closed
pmonks opened this issue Apr 13, 2021 · 0 comments
Closed

Feature request: change logging level on demand via chatops #169

pmonks opened this issue Apr 13, 2021 · 0 comments
Labels
feature New feature, functionality or request functional Functional (i.e. user-visible) work

Comments

@pmonks
Copy link
Owner

pmonks commented Apr 13, 2021

Description of Problem:

When an unexpected issue occurs with the production instance of the bot, I want to be able to change the logging level dynamically, by sending the bot a direct message, so I can triage the issue without having to redeploy the bot.

When I have triaged the issue, I want to "reset" the logging level to its configured defaults (also by sending the bot a direct message), so that the bot returns to its pre-triage logging state.

Potential Solutions:

Implement two new "secret" commands:

  1. "!setlogging loglevel [logger]"
  2. "!resetlogging"

See this code for how to modify logging levels.

@pmonks pmonks added feature New feature, functionality or request functional Functional (i.e. user-visible) work labels Apr 13, 2021
@pmonks pmonks added this to the Responsive Features milestone Apr 13, 2021
pmonks added a commit that referenced this issue Apr 13, 2021
pmonks added a commit that referenced this issue Apr 13, 2021
@pmonks pmonks closed this as completed Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature, functionality or request functional Functional (i.e. user-visible) work
Projects
None yet
Development

No branches or pull requests

1 participant