diff options
Diffstat (limited to 'test/expected/test_format_loader.sh_a47f2b090a5d8a226783835c7ff7d1c8821f11ed.err')
-rw-r--r-- | test/expected/test_format_loader.sh_a47f2b090a5d8a226783835c7ff7d1c8821f11ed.err | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/test/expected/test_format_loader.sh_a47f2b090a5d8a226783835c7ff7d1c8821f11ed.err b/test/expected/test_format_loader.sh_a47f2b090a5d8a226783835c7ff7d1c8821f11ed.err new file mode 100644 index 0000000..f657d87 --- /dev/null +++ b/test/expected/test_format_loader.sh_a47f2b090a5d8a226783835c7ff7d1c8821f11ed.err @@ -0,0 +1,61 @@ +[1m[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 +[1m[31m✘ error[0m: “abc(” is not a valid regular expression + [1m[31mreason[0m: missing closing parenthesis +[36m --> [0m[1m/invalid_key_log/level-pointer[0m +[36m | [0m[37m[40mabc[0m[1m[7m[32m[40m([0m[37m[40m [0m +[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 +[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 +[1m[31m✘ error[0m: “def[ghi” is not a valid regular expression + [1m[31mreason[0m: missing terminating ] for character class +[36m --> [0m[1m/invalid_key_log/file-pattern[0m +[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 +[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 [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 +[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 +[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. +[1m[31m✘ error[0m: “[1mfoobar_log[0m” is not a valid log format + [1m[31mreason[0m: no regexes specified +[36m --> [0m[1m{test_dir}/bad-config-json/formats/invalid-json/format.json[0m:3 +[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 +[36m --> [0m[1m{test_dir}/bad-config-json/formats/invalid-json/format.json[0m:3 +[1m[31m✘ error[0m: “[1minvalid_key_log[0m” is not a valid log format + [1m[31mreason[0m: structured logs cannot have regexes +[36m --> [0m[1m{test_dir}/bad-config-json/formats/invalid-key/format.json[0m:4 +[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 +[36m --> [0m[1m{test_dir}/bad-config-json/formats/invalid-key/format.json[0m:22 |