mirror of
https://github.com/tstack/lnav
synced 2024-11-01 21:40:34 +00:00
update test for json logs with objects/arrays
This commit is contained in:
parent
d8a49ec737
commit
4712bb6f76
@ -10,4 +10,4 @@
|
||||
{"ts": "2013-09-06T22:01:49.124817Z", "lvl": "WARNING", "msg": "not looking good"}
|
||||
{"ts": "2013-09-06T22:01:49.124817Z", "lvl": "ERROR", "msg": "looking bad"}
|
||||
{"ts": "2013-09-06T22:01:49.124817Z", "lvl": "CRITICAL", "msg": "sooo bad"}
|
||||
{"ts": "2013-09-06T22:01:49.124817Z", "lvl": "FATAL", "msg": "shoot"}
|
||||
{"ts": "2013-09-06T22:01:49.124817Z", "lvl": "FATAL", "msg": "shoot", "obj": { "field1" : "hi", "field2": 2 }, "arr" : ["hi", {"sub1": true}]}
|
||||
|
@ -22,6 +22,8 @@ check_output "json log format is not working" <<EOF
|
||||
2013-09-06T22:01:49.124 ERROR looking bad
|
||||
2013-09-06T22:01:49.124 CRITICAL sooo bad
|
||||
2013-09-06T22:01:49.124 FATAL shoot
|
||||
obj: { "field1" : "hi", "field2": 2 }
|
||||
arr: ["hi", {"sub1": true}]
|
||||
EOF
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user