Commit a18a0ee
fix: remove logging.basicConfig from __init__.py (#155)
* fix: remove logging.basicConfig from __init__.py
Calling logging.basicConfig() at import time configures the root logger
for the entire Python process, which interferes with logging setups in
applications that use cocoindex-code as a dependency.
Libraries should not configure the root logger — that is the
application's responsibility.
Closes #124
* Update __init__.py
---------
Co-authored-by: Jiangzhou <jiangzhou@cocoindex.io>1 parent c98f8cc commit a18a0ee
1 file changed
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | | - | |
15 | | - | |
16 | 13 | | |
17 | 14 | | |
18 | 15 | | |
| |||
0 commit comments