Skip to content

Comments

feat: add centralized structured logging setup#30

Open
fmueller wants to merge 1 commit intomainfrom
feat/phase-d-structured-logging
Open

feat: add centralized structured logging setup#30
fmueller wants to merge 1 commit intomainfrom
feat/phase-d-structured-logging

Conversation

@fmueller
Copy link
Owner

Summary

  • add a new scribae.logging_config.setup_logging helper with idempotent handler setup, quiet-safe stream behavior, and optional file logging via SCRIBAE_LOG_FILE
  • initialize logging in the root CLI callback and wire per-command verbosity into logging setup across brief/idea/write/meta/feedback/refine/translate commands
  • add module-level debug logging in core generation/translation paths to improve traceability without changing normal command output
  • keep --quiet behavior intact by preventing verbose debug stream logs when quiet mode is enabled

Validation

  • uv run ruff check
  • uv run mypy
  • uv run pytest

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