This commit is contained in:
vn.py 2019-06-10 14:54:41 +08:00
parent 65133141f8
commit fa9f06b2aa

View File

@ -299,7 +299,7 @@ class LogEngine(BaseEngine):
file_path = log_path.joinpath(filename)
file_handler = logging.FileHandler(
file_path, mode="w", encoding="utf8"
file_path, mode="a", encoding="utf8"
)
file_handler.setLevel(self.level)
file_handler.setFormatter(self.formatter)