chore: add microsecond resolution to structlog timestamps

This commit is contained in:
nicolas 2026-05-25 23:12:32 -03:00
parent e9727003d7
commit 60c21bed36
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ def configure_logging(level: str = "INFO", log_file: Path | None = None) -> None
cache_logger_on_first_use=True, cache_logger_on_first_use=True,
processors=[ processors=[
structlog.stdlib.add_log_level, structlog.stdlib.add_log_level,
structlog.processors.TimeStamper(fmt="iso"), structlog.processors.TimeStamper(fmt="%Y-%m-%d %H:%M:%S.%f"),
structlog.processors.JSONRenderer(), structlog.processors.JSONRenderer(),
], ],
) )