Skip to content

Fix accidentally-active if=$loggable filter on nginx access_log - #876

Open
maxkadel wants to merge 1 commit into
mainfrom
fix-nginx-access-log-filter
Open

maxkadel wants to merge 1 commit into
mainfrom
fix-nginx-access-log-filter

Conversation

@maxkadel

Copy link
Copy Markdown
Member

Fixes access_log ... if=$loggable; in ops/nginx/server-block.conf, which got accidentally merged into one active directive during the Phase 2 extraction in #874. The reference config kept if=$loggable as a commented-out example, not a live filter - restored that.

Found while investigating a "no logs in production" report after the production deploy. Turned out not to be the cause (verified if=$loggable still logs non-444 responses fine) - the real cause is that digitalcollections.lib.utk.edu and hykuadmin.lib.utk.edu are served by manually-created Ingress resources (utk-digitalcollections, utk-hykuadmin) that still point directly at utk-hyku-production-hyrax, bypassing the new nginx pod entirely. That's a live ingress patch, not a code change, so it's not part of this PR - flagging here for visibility.

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com

Got merged into one active directive during the Phase 2 extraction;
the reference config kept this as a commented-out example, not a
live filter. Doesn't explain the "no logs in production" report --
verified if=\$loggable still logs non-444 responses fine -- but it's
a real deviation from the source, worth fixing regardless.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Test Results

209 484 tests  ±0   209 484 ✅ ±0   0s ⏱️ ±0s
      1 suites ±0         0 💤 ±0 
      1 files   ±0         0 ❌ ±0 

Results for commit 16d1ed2. ± Comparison against base commit 3c269bc.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant