Skip to content

Commit eeef2f7

Browse files
committed
fix
1 parent 19b238d commit eeef2f7

File tree

1 file changed

+1
-1
lines changed
  • src/pkgmt/assets/template/src/package_name

1 file changed

+1
-1
lines changed

src/pkgmt/assets/template/src/package_name/log.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def configure_file_logger(file_path: str = "app.log") -> None:
9292
],
9393
wrapper_class=structlog.make_filtering_bound_logger(logging.NOTSET),
9494
context_class=dict,
95-
logger_factory=structlog.WriteLoggerFactory(file=Path(file_path).open("wt")),
95+
logger_factory=structlog.WriteLoggerFactory(file=Path(file_path).open("at")),
9696
cache_logger_on_first_use=False,
9797
)
9898

0 commit comments

Comments
 (0)