Skip to content

Commit a9a90ab

Browse files
committed
It seems that multi-thread logging works fine
if use `applicationbound()` instead of `threadbound()`.
1 parent 663720a commit a9a90ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyfa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def _process_args(self, largs, rargs, values):
110110
config.defPaths(options.savepath)
111111
config.defLogging()
112112

113-
with config.logging_setup.threadbound():
113+
with config.logging_setup.applicationbound():
114114

115115
pyfalog.info("Starting Pyfa")
116116
pyfalog.info(version_block)

0 commit comments

Comments
 (0)