Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Base/BaseLog.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self, devices):
self.logger.setLevel(logging.INFO)

# create handler,write log
fh = logging.FileHandler(os.path.join(logPath, "outPut.log"))
fh = logging.FileHandler(os.path.join(logPath, "outPut.log"), encoding="UTF-8")
# Define the output format of formatter handler
formatter = logging.Formatter('%(asctime)s - %(levelname)s - %(message)s')
fh.setFormatter(formatter)
Expand Down