Skip to content

Commit 1c5372d

Browse files
committed
Add taskName to the list of default log attrs
In Python 3.12 the attribute `taskName` was introduced. This broke our unit tests, as they didn't expect this attribute to be there and added them to the list of extras
1 parent c888328 commit 1c5372d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

logging_utilities/formatters/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@
2020
'stack_info',
2121
'msg',
2222
'args',
23-
'message'
23+
'message',
24+
'taskName'
2425
}

0 commit comments

Comments
 (0)