2022-07-08 21:17:34 +00:00
|
|
|
|
[1m[31m✘ error[0m: invalid JSON
|
2022-04-30 20:05:42 +00:00
|
|
|
|
[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 (':')
|
2022-05-23 03:44:18 +00:00
|
|
|
|
[36m | [0m ar_log": { "abc" } }
|
|
|
|
|
[36m | [0m (right here) ------^
|
|
|
|
|
[36m | [0m
|
2022-09-10 16:28:07 +00:00
|
|
|
|
[1m[31m✘ error[0m: “abc(” is not a valid regular expression
|
|
|
|
|
[1m[31mreason[0m: missing closing parenthesis
|
2022-04-30 20:05:42 +00:00
|
|
|
|
[36m --> [0m[1m/invalid_key_log/level-pointer[0m
|
2022-08-01 05:00:25 +00:00
|
|
|
|
[36m | [0m[37m[40mabc[0m[1m[7m[32m[40m([0m[37m[40m [0m
|
2022-09-10 16:28:07 +00:00
|
|
|
|
[36m | [0m[37m[40m [0m[1m[31m[40m^ [0m[1m[31m[40mmissing closing parenthesis[0m[37m[40m [0m
|
|
|
|
|
[36m --> [0m[1m{test_dir}/bad-config-json/formats/invalid-key/format.json[0m:4
|
|
|
|
|
[36m | [0m[37m[40m "level-pointer": "abc(", [0m
|
2022-04-30 20:05:42 +00:00
|
|
|
|
[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
|
2022-09-10 16:28:07 +00:00
|
|
|
|
[1m[31m✘ error[0m: “def[ghi” is not a valid regular expression
|
2022-07-08 21:17:34 +00:00
|
|
|
|
[1m[31mreason[0m: missing terminating ] for character class
|
2022-04-30 20:05:42 +00:00
|
|
|
|
[36m --> [0m[1m/invalid_key_log/file-pattern[0m
|
2022-08-01 05:00:25 +00:00
|
|
|
|
[36m | [0m[37m[40mdef[0m[1m[7m[32m[40m[[0m[37m[40mghi [0m
|
|
|
|
|
[36m | [0m[37m[40m [0m[1m[31m[40m^ [0m[1m[31m[40mmissing terminating ] for character class[0m
|
2022-09-10 16:28:07 +00:00
|
|
|
|
[36m --> [0m[1m{test_dir}/bad-config-json/formats/invalid-key/format.json[0m:5
|
|
|
|
|
[36m | [0m[37m[40m "file-pattern": "def[ghi", [0m
|
2022-04-30 20:05:42 +00:00
|
|
|
|
[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
|
2022-05-23 03:44:18 +00:00
|
|
|
|
[36m | [0m[37m[40m "identifiers": true [0m
|
2022-04-30 20:05:42 +00:00
|
|
|
|
[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
|
2022-07-08 21:17:34 +00:00
|
|
|
|
[1m[31m✘ error[0m: “-1.2” is not a valid value for “[1m/invalid_key_log/timestamp-divisor[0m”
|
|
|
|
|
[1m[31mreason[0m: value cannot be less than or equal to zero
|
2022-04-30 20:05:42 +00:00
|
|
|
|
[36m --> [0m[1m{test_dir}/bad-config-json/formats/invalid-key/format.json[0m:25
|
2022-05-23 03:44:18 +00:00
|
|
|
|
[36m | [0m[37m[40m "timestamp-divisor": -1.2 [0m
|
2022-04-30 20:05:42 +00:00
|
|
|
|
[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.
|
2022-07-08 21:17:34 +00:00
|
|
|
|
[1m[31m✘ error[0m: “[1mfoobar_log[0m” is not a valid log format
|
|
|
|
|
[1m[31mreason[0m: no regexes specified
|
2022-04-30 20:05:42 +00:00
|
|
|
|
[36m --> [0m[1m{test_dir}/bad-config-json/formats/invalid-json/format.json[0m:3
|
2022-07-08 21:17:34 +00:00
|
|
|
|
[1m[31m✘ error[0m: “[1mfoobar_log[0m” is not a valid log format
|
|
|
|
|
[1m[31mreason[0m: log message samples must be included in a format definition
|
2022-04-30 20:05:42 +00:00
|
|
|
|
[36m --> [0m[1m{test_dir}/bad-config-json/formats/invalid-json/format.json[0m:3
|
2022-07-08 21:17:34 +00:00
|
|
|
|
[1m[31m✘ error[0m: “[1minvalid_key_log[0m” is not a valid log format
|
|
|
|
|
[1m[31mreason[0m: structured logs cannot have regexes
|
2022-04-30 20:05:42 +00:00
|
|
|
|
[36m --> [0m[1m{test_dir}/bad-config-json/formats/invalid-key/format.json[0m:4
|
2022-07-08 21:17:34 +00:00
|
|
|
|
[1m[31m✘ error[0m: invalid line format element “[1m/invalid_key_log/line-format/0/field[0m”
|
|
|
|
|
[1m[31mreason[0m: “non-existent” is not a defined value
|
2022-04-30 20:05:42 +00:00
|
|
|
|
[36m --> [0m[1m{test_dir}/bad-config-json/formats/invalid-key/format.json[0m:22
|