Commit e6061a9
committed
Suppress urllib3 connection pool warnings unless verbose mode is enabled
What changed:
- In config_logging(), when not in verbose mode, the urllib3.connectionpool logger is set to ERROR, suppressing WARNING messages like 'Connection pool is full'.
- In verbose mode, the logger uses the default level, so warnings are still shown.
How it works:
- Normal mode: urllib3 connection pool warnings are suppressed (only ERROR and above are shown).
- Verbose mode (--verbose): warnings are shown as usual.
This addresses the GitHub issue requirement. The warnings will no longer clutter the output during normal operation, but will still be visible when debugging with --verbose.1 parent 40e1ac2 commit e6061a9
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| |||
0 commit comments