Skip to content

Avoid overwriting the log_level of an existing logger#357

Open
onlynone wants to merge 1 commit intodiscourse:mainfrom
onlynone:fix_logger_level
Open

Avoid overwriting the log_level of an existing logger#357
onlynone wants to merge 1 commit intodiscourse:mainfrom
onlynone:fix_logger_level

Conversation

@onlynone
Copy link

If you have an existing logger set to an existing log_level that isn't Logger::WARN, then passing that logger into PrometheusExporter::Client.new will clobber the existing loggers level.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant