Commit 4312b18
fix: fix chainlit sets logging while act as a library (#2683)
fix #2682
<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Stop Chainlit from changing global logging when imported as a library.
Move logging.basicConfig to the CLI entrypoint and remove it from
chainlit.logger, while keeping socketio/engineio loggers at ERROR.
<sup>Written for commit aff41d1.
Summary will update automatically on new commits.</sup>
<!-- End of auto-generated description by cubic. -->
---------
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Josh Hayes <[email protected]>1 parent 8d3c457 commit 4312b18
2 files changed
+9
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
29 | 38 | | |
30 | 39 | | |
31 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 2 | | |
11 | 3 | | |
12 | 4 | | |
| |||
0 commit comments