Commit 52c95b7
committed
fix: as a lib we should not configure the root logger
While setting the basicConfig value to the root logger it creates a new
StreamHandler and adds it to the root logger.
When an app that uses the lib language_tool_python also import the logging
lib, its own root logger get affected by this line and logs are printed
two times.1 parent fc6cd78 commit 52c95b7
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
0 commit comments