plan(SP22): Task 3 — add add_logger_name to shared_processors so JSON includes the logger name (matches docstring contract)
This commit is contained in:
@@ -566,6 +566,7 @@ def setup_logging(level: str = "INFO") -> None:
|
|||||||
shared_processors = [
|
shared_processors = [
|
||||||
structlog.contextvars.merge_contextvars,
|
structlog.contextvars.merge_contextvars,
|
||||||
structlog.stdlib.add_log_level,
|
structlog.stdlib.add_log_level,
|
||||||
|
structlog.stdlib.add_logger_name,
|
||||||
timestamper,
|
timestamper,
|
||||||
structlog.processors.StackInfoRenderer(),
|
structlog.processors.StackInfoRenderer(),
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user