mirror of
https://github.com/tstack/lnav
synced 2024-11-17 15:29:40 +00:00
8dbf018814
Closes #329
25 lines
640 B
JSON
25 lines
640 B
JSON
{
|
|
"leveltest_log": {
|
|
"description": "Log format used for testing levels",
|
|
"regex": {
|
|
"line": {
|
|
"pattern": "^(?<timestamp>\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}) (?<level>[^ ]+) (?<body>.*)$"
|
|
}
|
|
},
|
|
"level": {
|
|
"trace": "trace",
|
|
"debug": "debug",
|
|
"debug2": "debug2",
|
|
"debug3": "debug3",
|
|
"info": "info",
|
|
"warning": "warn",
|
|
"fatal": "fatal"
|
|
},
|
|
"sample": [
|
|
{
|
|
"line": "2016-06-30 12:00:01 trace tracemessage"
|
|
}
|
|
]
|
|
}
|
|
}
|