Skip to content

Structured leveled logging with request IDs - #440

Open
karpikpl wants to merge 1 commit into
mainfrom
copilot/fix-issue-435
Open

Structured leveled logging with request IDs#440
karpikpl wants to merge 1 commit into
mainfrom
copilot/fix-issue-435

Conversation

@karpikpl

Copy link
Copy Markdown
Collaborator

Fixes #435

Summary

  • add a tagged consola-backed server logger with runtime log level/format/request controls
  • rewrite request logging to skip health/static routes, redact query strings, and propagate x-request-id
  • migrate server console logging call sites to tagged loggers
  • add Vitest coverage for levels, redaction, skips, and request IDs

Validation

  • npm test -- --run
  • npm run build
  • npm run lint (fails before linting due eslint-plugin-import-x/minimatch brace-expansion export mismatch)

…ring redaction (#435)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: bbf27d66-9aca-451b-85ee-3a32e0775d52
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.

Add structured, leveled logging (LOG_LEVEL, JSON output, request-id) — replace ad-hoc console.*

1 participant