config/log_rules.json in u3d-1.0.15 vs config/log_rules.json in u3d-1.0.16

- old
+ new

@@ -9,11 +9,11 @@ "start_message": "Current step: %{step}" }, "fail": { "active": true, "start_pattern": "^(?<fail>Failed to .+)\\n", - "end_pattern": "Filename: (?:[\\w/:]+/(?<file>\\w+\\.\\w+))? Line: (?<line>-?\\d+)", + "end_pattern": "Filename: (?:.+/(?<file>\\w+\\.\\w+))? Line: (?<line>-?\\d+)", "start_message": false, "end_message": "%{file}(line %{line}): %{fail}", "store_lines": false, "ignore_lines": [ "UnityEditor", @@ -37,11 +37,11 @@ "type": "error" }, "exception_report": { "active": true, "start_pattern": "^(?<message>.*threw exception\\.)\\n", - "end_pattern": "Filename: (?:[\\w/:]+/(?<file>\\w+\\.\\w+))? Line: (?<line>-?\\d+)", + "end_pattern": "Filename: (?:.+/(?<file>\\w+\\.\\w+))? Line: (?<line>-?\\d+)", "start_message": false, "end_message": "%{file}(line %{line}): %{message}", "store_lines": false, "type": "error" }, @@ -72,25 +72,26 @@ "^\\n" ], "fetched_line_pattern": "(?<message>.*)\\n", "fetched_line_message": false, "start_message": false, - "end_pattern": "Filename: (?:[\\w/:]+/(?<file>\\w+\\.\\w+))? Line: (?<line>-?\\d+)", + "end_pattern": "Filename: (?:.+/(?<file>\\w+\\.\\w+))? Line: (?<line>-?\\d+)", "end_message": "[LOG] %{file}(line %{line}): %{message}", "type": "warning" }, "log_warning": { "active": true, "start_pattern": "UnityEngine\\.Debug:LogWarning\\(Object\\)", "fetch_first_line_not_matching": [ "UnityEngine\\.", - "^\\n" + "^\\n", + "^\\s+" ], "fetched_line_pattern": "(?<message>.*)\\n", "fetched_line_message": false, "start_message": false, - "end_pattern": "Filename: (?:[\\w/:]+/(?<file>\\w+\\.\\w+))? Line: (?<line>-?\\d+)", + "end_pattern": "Filename: (?:.+/(?<file>\\w+\\.\\w+))? Line: (?<line>-?\\d+)", "end_message": "[LOG] %{file}(line %{line}): %{message}", "type": "warning" }, "log_error": { "active": true, @@ -102,11 +103,11 @@ "^ " ], "fetched_line_pattern": "(?<message>.*)\\n", "fetched_line_message": false, "start_message": false, - "end_pattern": "Filename: (?:[\\w/:]+/(?<file>\\w+\\.\\w+))? Line: (?<line>-?\\d+)", + "end_pattern": "Filename: (?:.+/(?<file>\\w+\\.\\w+))? Line: (?<line>-?\\d+)", "end_message": "[LOG] %{file}(line %{line}): %{message}", "type": "error" }, "log_exception": { "active": true, @@ -118,11 +119,11 @@ "^ " ], "fetched_line_pattern": "(?<message>.*)\\n", "fetched_line_message": false, "start_message": false, - "end_pattern": "Filename: (?:[\\w/:]+/(?<file>\\w+\\.\\w+))? Line: (?<line>-?\\d+)", + "end_pattern": "Filename: (?:.+/(?<file>\\w+\\.\\w+))? Line: (?<line>-?\\d+)", "end_message": "[LOG] %{file}(line %{line}): %{message}", "type": "error" }, "batchmode_exit": { "active": true, @@ -305,9 +306,45 @@ "percentage": { "active": true, "start_pattern": "Textures\\s+\\d+\\.?\\d* .b\\s+\\d{1,3}\\.?\\d*%", "end_pattern": "Complete size\\s+\\d+\\.?\\d* .b\\s+\\d{1,3}\\.?\\d*%", "store_lines": true + }, + "command_invocation_failure": { + "active": true, + "start_pattern": "CommandInvokationFailure: (?<message>.+\\.)", + "store_lines": true, + "end_pattern": "^\\n", + "start_message": "[ANDROID] Command invocation failure: %{message}", + "end_message": false, + "type": "error" + }, + "command_invocation_failure_stderr": { + "active": true, + "start_pattern": "stderr\\[", + "store_lines": true, + "ignore_lines": ["^\\n"], + "end_pattern": "\\]\\n", + "start_message": "[ANDROID] Errors:", + "end_message": false, + "type": "error" + }, + "command_invocation_failure_stdout": { + "active": true, + "start_pattern": "stdout\\[", + "store_lines": true, + "ignore_lines": ["^\\n"], + "end_pattern": "\\]\\n", + "start_message": "[ANDROID] Warnings:", + "end_message": false, + "type": "warning" + }, + "command_invocation_failure_stack": { + "active": true, + "start_pattern": "[Ee]xit code: (?<code>\\d+)", + "end_pattern": "Filename: (?:.+/(?<file>\\w+\\.\\w+))? Line: (?<line>-?\\d+)", + "start_message": false, + "end_message": "[ANDROID] %{file}(line %{line}) Exit code %{code}" } } } }