You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Level detection currently only looks at the top level keys of a json for level or serverity keys. It fails to extract level information from nested fields. Even the fallback that searches the log line for level tokens does not handle all scenarios.
Following log line for example does not get detected as warn since this function detectLevelFromLogLine is not exhaustive.
{
"body": {
"message": "foo",
"level": "warn"
}
}
The text was updated successfully, but these errors were encountered:
Describe the bug
Level detection currently only looks at the top level keys of a json for
level
orserverity
keys. It fails to extract level information from nested fields. Even the fallback that searches the log line for level tokens does not handle all scenarios.Following log line for example does not get detected as
warn
since this functiondetectLevelFromLogLine
is not exhaustive.The text was updated successfully, but these errors were encountered: