Commit 29b7198
committed
Fix to ensure that asyncio uses SaltLoggingClass
Fixes the salt logging implementation to check asyncio is using the
SaltLoggingClass if it has already been imported. If it uses the
standard logging.Logger() class then extra fields in the log format such
as %(jid)s will cause an exception when asyncio logs anything.1 parent d700012 commit 29b7198
File tree
3 files changed
+27
-0
lines changed- changelog
- salt/_logging
- tests/pytests/unit/_logging
3 files changed
+27
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
559 | 559 | | |
560 | 560 | | |
561 | 561 | | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
562 | 569 | | |
563 | 570 | | |
564 | 571 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments