Skip to content

[10.2.x] Improve config reload error reporting with severity-aware task logs (#13090)#13369

Open
masaori335 wants to merge 1 commit into
apache:10.2.xfrom
masaori335:asf-10.2.x-13090
Open

[10.2.x] Improve config reload error reporting with severity-aware task logs (#13090)#13369
masaori335 wants to merge 1 commit into
apache:10.2.xfrom
masaori335:asf-10.2.x-13090

Conversation

@masaori335

Copy link
Copy Markdown
Contributor

Cherry-pick #13090 following #13354


  • 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: #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

…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
@masaori335 masaori335 added this to the 10.2.0 milestone Jul 8, 2026
@masaori335 masaori335 self-assigned this Jul 8, 2026
@masaori335 masaori335 added the Backport Marked for backport for an LTS patch release label Jul 8, 2026
@masaori335 masaori335 requested a review from cmcfarlen July 8, 2026 00:12
@masaori335 masaori335 changed the title Improve config reload error reporting with severity-aware task logs (#13090) [10.2.x] Improve config reload error reporting with severity-aware task logs (#13090) Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backport Marked for backport for an LTS patch release

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants