[Mod] Close #1708
This commit is contained in:
parent
65133141f8
commit
fa9f06b2aa
@ -299,7 +299,7 @@ class LogEngine(BaseEngine):
|
|||||||
file_path = log_path.joinpath(filename)
|
file_path = log_path.joinpath(filename)
|
||||||
|
|
||||||
file_handler = logging.FileHandler(
|
file_handler = logging.FileHandler(
|
||||||
file_path, mode="w", encoding="utf8"
|
file_path, mode="a", encoding="utf8"
|
||||||
)
|
)
|
||||||
file_handler.setLevel(self.level)
|
file_handler.setLevel(self.level)
|
||||||
file_handler.setFormatter(self.formatter)
|
file_handler.setFormatter(self.formatter)
|
||||||
|
Loading…
Reference in New Issue
Block a user