Improve config reload error reporting with severity-aware task logs#13090
Open
brbzull0 wants to merge 5 commits intoapache:masterfrom
Open
Improve config reload error reporting with severity-aware task logs#13090brbzull0 wants to merge 5 commits intoapache:masterfrom
brbzull0 wants to merge 5 commits intoapache:masterfrom
Conversation
added 3 commits
April 15, 2026 12:12
Unify diagnostic logging (diags.log) with ConfigContext task logs (traffic_ctl config status) via CfgLoad* macros. Each task log entry now carries a DiagsLevel severity, enabling --min-level filtering in traffic_ctl and severity tags in output ([Note], [Err], etc). Reload summaries are logged to diags.log after a grace period, with detailed per-subtask dumps under the config.reload debug tag. Fixes: apache#12963
added 2 commits
April 15, 2026 17:48
Contributor
Author
|
[approve ci FreeBSD] |
Contributor
Author
|
[approve ci osx] |
Contributor
Author
|
[approve ci freebsd] |
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.
Unify diagnostic logging (diags.log) with ConfigContext task logs (traffic_ctl config status) via CfgLoad* macros.
Each task log entry now carries a DiagsLevel severity, enabling
--min-levelfiltering intraffic_ctland severity tags in output ([Note],[Err], etc). Reload summaries are logged todiags.logafter a grace period, with detailed per-subtask dumps under the config.reload debug tag.the entire idea is to get the following sort of visibility:
Successful reload
Failed reload — SNI parse error
Failed reload — partial SSL cert failures
--min-levelfiltering — errors and warnings onlydiags.log— one-line reload summariesdiags.log— detailed dump viaconfig.reloaddebug tagSeverity tags
[Dbg]CfgLoadDbgmacro[Note]CfgLoadInProgress,CfgLoadComplete,CfgLoadLog(DL_Note),ctx.in_progress(text),ctx.complete(text)[Warn]CfgLoadFail(DL_Warning),CfgLoadLog(DL_Warning)[Err]CfgLoadFail(DL_Error),ctx.fail(text)Fixes: #12963