Commit 2c37d06
committed
Move down logging levels in mpl/__init__ to DEBUG.
Most "info" level logs in the codebase are either reporting "mildly"
invalid conditions that mpl can easily work around, or initializations
that occur relatively rarely. On the contrary, mpl/__init__ is run
every time mpl is imported and reports on completely normal stuff.
Moving the levels of the logs in mpl/__init__ down to DEBUG makes it
possible to have a globally activated logger at the INFO level (see e.g.
https://coloredlogs.readthedocs.io/en/latest/ specifically
https://coloredlogs.readthedocs.io/en/latest/#environment-variables)
without it being spammed by matplotlib.1 parent af1197d commit 2c37d06
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
| 385 | + | |
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
| |||
1131 | 1131 | | |
1132 | 1132 | | |
1133 | 1133 | | |
1134 | | - | |
| 1134 | + | |
1135 | 1135 | | |
1136 | 1136 | | |
1137 | 1137 | | |
| |||
1839 | 1839 | | |
1840 | 1840 | | |
1841 | 1841 | | |
1842 | | - | |
1843 | | - | |
1844 | | - | |
| 1842 | + | |
| 1843 | + | |
| 1844 | + | |
1845 | 1845 | | |
0 commit comments