Repository navigation
[core] Trigger RLogger configuration via ROOT_LOG environment variable (fixes #7614) - #23823
Closed
muntasir-396 wants to merge 1 commit into
Closed
muntasir-396 wants to merge 1 commit into
muntasir-396 wants to merge 1 commit into
Conversation
fixes root-project#7614) - Allow configuring RLogger global and channel-specific verbosity using the ROOT_LOG (and fallback ROOT_LOGGERS) environment variable. - Support comma-separated Channel=Level syntax (e.g. ROOT.InterpreterPerf=Debug(3),ROOT.RBrowser=Error,default=Info). - Implement RLogManager::ConfigureFromEnv, ConfigureFromString, and ParseLogLevel supporting Debug(N), Debug+N, Info, Warning, Error, Fatal, and Unset. - Update RLogChannel::GetEffectiveVerbosity to respect channel verbosity configured in RLogManager. - Add GoogleTest unit tests in testLogger.cxx covering parsing, string configuration, environment variable parsing, and selective log emission and suppression.
vepadulano
requested changes
Oct 24, 2026
vepadulano
left a comment
Member
There was a problem hiding this comment.
Dear @muntasir-396 ,
You haven't checked if the original issue #7614 was already being addressed, or if it is still relevant. There is currently already another open PR linked to the same issue #23516. I will go ahead and close this one. Please, ask before committing, also to understand if an issue is still relevant. Also, you already have 6 open PRs (of which 3 drafts) https://github.com/root-project/root/pulls?q=is%3Apr+state%3Aopen+author%3Amuntasir-396 .
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR addresses #7614 by adding support for configuring
RLoggerglobal and channel-specific verbosity using theROOT_LOGenvironment variable (with fallback toROOT_LOGGERS):