Closed aberres closed 1 year ago
The regression was introduced in 0055dc5b273949ee7432665eeddbe37781d9dc01.
Only fields followed by an s were correctly extracted. As there are other possible cases like 8s, d, or no prefix at all the regex is loosened.
s
8s
d
In this funky case [%(levelname)8s][PID %(process)d][%(threadName)s] the extracted field was levelname)8s][PID %(process)d][%(threadName.
[%(levelname)8s][PID %(process)d][%(threadName)s]
levelname)8s][PID %(process)d][%(threadName
Thanks for fixing & adding a test case!
The regression was introduced in 0055dc5b273949ee7432665eeddbe37781d9dc01.
Only fields followed by an
s
were correctly extracted. As there are other possible cases like8s
,d
, or no prefix at all the regex is loosened.In this funky case
[%(levelname)8s][PID %(process)d][%(threadName)s]
the extracted field waslevelname)8s][PID %(process)d][%(threadName
.