mirror of
https://github.com/tstack/lnav
synced 2024-11-03 23:15:38 +00:00
62 lines
4.0 KiB
Plaintext
62 lines
4.0 KiB
Plaintext
[31m✘ error[0m: invalid JSON
|
||
[36m --> [0m[1m{test_dir}/bad-config-json/formats/invalid-json/format.json[0m:4
|
||
[36m | [0mparse error: object key and value must be separated by a colon (':')
|
||
[36m | [0m ar_log": { "abc" } }
|
||
[36m | [0m (right here) ------^
|
||
[36m | [0m
|
||
[31m✘ error[0m: “abc(” is not a valid regular expression for property “[1m/invalid_key_log/level-pointer[0m”
|
||
[31mreason[0m: missing )
|
||
[36m --> [0m[1m{test_dir}/bad-config-json/formats/invalid-key/format.json[0m:4
|
||
[36m | [0m[37m[40m "level-pointer": "abc(", [0m
|
||
[36m --> [0m[1m/invalid_key_log/level-pointer[0m
|
||
[36m | [0mabc[1m[7m[32m([0m
|
||
[36m | [0m [31m^ [0m[31mmissing )[0m
|
||
[36m =[0m [36mhelp[0m: [1mProperty Synopsis[0m
|
||
[1m/invalid_key_log/level-pointer[0m
|
||
[1mDescription[0m
|
||
A regular-expression that matches the JSON-pointer of the level property
|
||
[31m✘ error[0m: “def[ghi” is not a valid regular expression for property “[1m/invalid_key_log/file-pattern[0m”
|
||
[31mreason[0m: missing terminating ] for character class
|
||
[36m --> [0m[1m{test_dir}/bad-config-json/formats/invalid-key/format.json[0m:5
|
||
[36m | [0m[37m[40m "file-pattern": "def[ghi", [0m
|
||
[36m --> [0m[1m/invalid_key_log/file-pattern[0m
|
||
[36m | [0mdef[1m[7m[32m[[0mghi
|
||
[36m | [0m [31m^ [0m[31mmissing terminating ] for character class[0m
|
||
[36m =[0m [36mhelp[0m: [1mProperty Synopsis[0m
|
||
[1m/invalid_key_log/file-pattern[0m
|
||
[1mDescription[0m
|
||
A regular expression that restricts this format to log files with a matching name
|
||
[33m⚠ warning[0m: unexpected value for property “[1m/invalid_key_log/value/test/identifiers[0m”
|
||
[36m --> [0m[1m{test_dir}/bad-config-json/formats/invalid-key/format.json[0m:14
|
||
[36m | [0m[37m[40m "identifiers": true [0m
|
||
[36m =[0m [36mhelp[0m: [1mAvailable Properties[0m
|
||
[1mkind[0m [4m<data-type>[0m
|
||
[1mcollate[0m [4m<function>[0m
|
||
[1munit[0m[1m/[0m
|
||
[1midentifier[0m [4m<bool>[0m
|
||
[1mforeign-key[0m [4m<bool>[0m
|
||
[1mhidden[0m [4m<bool>[0m
|
||
[1maction-list[0m [4m<string>[0m
|
||
[1mrewriter[0m [4m<command>[0m
|
||
[1mdescription[0m [4m<string>[0m
|
||
[31m✘ error[0m: “-1.2” is not a valid value for “[1m/invalid_key_log/timestamp-divisor[0m”
|
||
[31mreason[0m: value cannot be less than or equal to zero
|
||
[36m --> [0m[1m{test_dir}/bad-config-json/formats/invalid-key/format.json[0m:25
|
||
[36m | [0m[37m[40m "timestamp-divisor": -1.2 [0m
|
||
[36m =[0m [36mhelp[0m: [1mProperty Synopsis[0m
|
||
[1m/invalid_key_log/timestamp-divisor[0m [4m<number>[0m
|
||
[1mDescription[0m
|
||
The value to divide a numeric timestamp by in a JSON log.
|
||
[31m✘ error[0m: “[1mfoobar_log[0m” is not a valid log format
|
||
[31mreason[0m: no regexes specified
|
||
[36m --> [0m[1m{test_dir}/bad-config-json/formats/invalid-json/format.json[0m:3
|
||
[31m✘ error[0m: “[1mfoobar_log[0m” is not a valid log format
|
||
[31mreason[0m: log message samples must be included in a format definition
|
||
[36m --> [0m[1m{test_dir}/bad-config-json/formats/invalid-json/format.json[0m:3
|
||
[31m✘ error[0m: “[1minvalid_key_log[0m” is not a valid log format
|
||
[31mreason[0m: structured logs cannot have regexes
|
||
[36m --> [0m[1m{test_dir}/bad-config-json/formats/invalid-key/format.json[0m:4
|
||
[31m✘ error[0m: invalid line format element “[1m/invalid_key_log/line-format/0/field[0m”
|
||
[31mreason[0m: “non-existent” is not a defined value
|
||
[36m --> [0m[1m{test_dir}/bad-config-json/formats/invalid-key/format.json[0m:22
|