Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdc1b1a2

Browse files
committed
fix(logging): remove encoding parameter from RotatingFileHandler
1 parent275e2dd commitdc1b1a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/core/log.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
definit_logger():
1313
logging.basicConfig(
14-
handlers=[RotatingFileHandler(join(get_config_dir(),DEFAULT_LOG_FILENAME),maxBytes=1024*1024,backupCount=5,encoding='utf-8')],
14+
handlers=[RotatingFileHandler(join(get_config_dir(),DEFAULT_LOG_FILENAME),maxBytes=1024*1024,backupCount=5)],
1515
level=logging.DEBUG,
1616
format=LOG_FORMAT,
1717
datefmt=LOG_DATETIME,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp