Files
noteflow/.claude/hookify.ban-stdlib-logger.local.md

665 B

name, enabled, event, action, conditions
name enabled event action conditions
ban-stdlib-logger true file block
field operator pattern
file_path regex_match .py$
field operator pattern
new_text regex_match import logging|from logging import|logging.getLogger

Stdlib logger is banned in this project.

Use the project's custom logger instead:

from noteflow.infrastructure.logging import get_logger

logger = get_logger(__name__)

Why:

  • Project uses structured logging with get_logger()
  • Custom logger provides consistent formatting, context injection, and observability features
  • Stdlib logger bypasses project logging configuration