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

Support for hot reloading log levels #5996

Merged
merged 1 commit into from
Jul 24, 2019
Merged

Support for hot reloading log levels #5996

merged 1 commit into from
Jul 24, 2019

Conversation

endocrimes
Copy link
Contributor

No description provided.

@@ -10,7 +10,7 @@ import (
// levels that we use.
func LevelFilter() *logutils.LevelFilter {
return &logutils.LevelFilter{
Levels: []logutils.LogLevel{"TRACE", "DEBUG", "INFO", "WARN", "ERR"},
Levels: []logutils.LogLevel{"TRACE", "DEBUG", "INFO", "WARN", "ERROR"},
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this fixes an existing bug that doesn't allow specifying ERROR level logging as required by hclog (https://github.com/hashicorp/go-hclog/blob/master/logger.go#L59-L76)

@endocrimes endocrimes force-pushed the f-reload-log-level branch from b2e13ea to 0dbebae Compare July 23, 2019 18:17
@endocrimes endocrimes force-pushed the f-reload-log-level branch from 0dbebae to 2d48ce9 Compare July 24, 2019 11:37
@endocrimes endocrimes merged commit e55f70a into master Jul 24, 2019
@endocrimes endocrimes deleted the f-reload-log-level branch July 24, 2019 11:54
@github-actions
Copy link

github-actions bot commented Feb 6, 2023

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants