chore: Logging Config Generator Script (#81) #88

Merged
egullickson merged 1 commits from issue-81-logging-config-generator into main 2026-02-04 01:33:19 +00:00
Owner

Summary

  • Create scripts/ci/generate-log-config.sh that maps a single LOG_LEVEL env var to per-container settings
  • Script accepts DEBUG, INFO, WARN, or ERROR and validates input
  • Generates .env.logging with mappings for Backend/OCR (Pino), Frontend (Vite), PostgreSQL, Redis, and Traefik
  • Integrate script into staging and production CI/CD pipelines
  • Add .env.logging to .gitignore

Fixes #81

Test plan

  • Script accepts LOG_LEVEL argument (DEBUG, INFO, WARN, ERROR)
  • Script validates input and fails on invalid LOG_LEVEL
  • Script generates .env.logging with correct mappings per container
  • Script is executable and documented in header

Acceptance Criteria

  • Script accepts LOG_LEVEL argument (DEBUG, INFO, WARN, ERROR)
  • Script validates input and fails on invalid LOG_LEVEL
  • Script generates .env.logging with correct mappings
  • Script is executable (chmod +x)
  • Script has documentation in header comments
## Summary - Create `scripts/ci/generate-log-config.sh` that maps a single LOG_LEVEL env var to per-container settings - Script accepts DEBUG, INFO, WARN, or ERROR and validates input - Generates `.env.logging` with mappings for Backend/OCR (Pino), Frontend (Vite), PostgreSQL, Redis, and Traefik - Integrate script into staging and production CI/CD pipelines - Add `.env.logging` to `.gitignore` Fixes #81 ## Test plan - [x] Script accepts LOG_LEVEL argument (DEBUG, INFO, WARN, ERROR) - [x] Script validates input and fails on invalid LOG_LEVEL - [x] Script generates `.env.logging` with correct mappings per container - [x] Script is executable and documented in header ## Acceptance Criteria - [x] Script accepts LOG_LEVEL argument (DEBUG, INFO, WARN, ERROR) - [x] Script validates input and fails on invalid LOG_LEVEL - [x] Script generates .env.logging with correct mappings - [x] Script is executable (chmod +x) - [x] Script has documentation in header comments
egullickson added 1 commit 2026-02-04 01:26:04 +00:00
feat: add logging config generator script (refs #81)
All checks were successful
Deploy to Staging / Build Images (pull_request) Successful in 3m41s
Deploy to Staging / Deploy to Staging (pull_request) Successful in 31s
Deploy to Staging / Verify Staging (pull_request) Successful in 2m19s
Deploy to Staging / Notify Staging Ready (pull_request) Successful in 7s
Deploy to Staging / Notify Staging Failure (pull_request) Has been skipped
da406d9538
Create generate-log-config.sh that maps a single LOG_LEVEL env var to
per-container settings for Backend, Frontend, PostgreSQL, Redis, and
Traefik. Script validates input and generates .env.logging file.

Integrate script into staging and production CI/CD pipelines.
Remove obsolete SPRINTS.md calendar file.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
egullickson merged commit 4e8a724ef7 into main 2026-02-04 01:33:19 +00:00
egullickson deleted branch issue-81-logging-config-generator 2026-02-04 01:33:20 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: egullickson/motovaultpro#88