[10.2.x] Improve config reload error reporting with severity-aware task logs (#13090)#13369
Open
masaori335 wants to merge 1 commit into
Open
[10.2.x] Improve config reload error reporting with severity-aware task logs (#13090)#13369masaori335 wants to merge 1 commit into
masaori335 wants to merge 1 commit into
Conversation
…pache#13090) * Add severity-aware logging to config reload framework 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 (cherry picked from commit f838078) Conflicts: include/proxy/http/remap/RemapYamlConfig.h src/iocore/cache/CacheHosting.cc src/iocore/net/SSLUtils.cc src/proxy/ReverseProxy.cc src/proxy/http/remap/RemapYamlConfig.cc src/proxy/http/remap/UrlRewrite.cc
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.
Cherry-pick #13090 following #13354
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: #12963
(cherry picked from commit f838078)
Conflicts:
include/proxy/http/remap/RemapYamlConfig.h
src/iocore/cache/CacheHosting.cc
src/iocore/net/SSLUtils.cc
src/proxy/ReverseProxy.cc
src/proxy/http/remap/RemapYamlConfig.cc
src/proxy/http/remap/UrlRewrite.cc