We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19b238d commit eeef2f7Copy full SHA for eeef2f7
src/pkgmt/assets/template/src/package_name/log.py
@@ -92,7 +92,7 @@ def configure_file_logger(file_path: str = "app.log") -> None:
92
],
93
wrapper_class=structlog.make_filtering_bound_logger(logging.NOTSET),
94
context_class=dict,
95
- logger_factory=structlog.WriteLoggerFactory(file=Path(file_path).open("wt")),
+ logger_factory=structlog.WriteLoggerFactory(file=Path(file_path).open("at")),
96
cache_logger_on_first_use=False,
97
)
98
0 commit comments