diff --git a/src/formats/java_log.json b/src/formats/java_log.json index 4a2338ce..59b8c156 100644 --- a/src/formats/java_log.json +++ b/src/formats/java_log.json @@ -39,10 +39,10 @@ "pattern": "^(?\\d{4}-\\d{2}-\\d{2}( |T)\\d{2}:\\d{2}:\\d{2}(,|\\.)\\d{3}(?:Z|[-+]\\d{2}:?\\d{2})?)\\s+\\[(?[^\\]]+)\\]\\s+(?ERROR|WARN|INFO|DEBUG|TRACE)\\s+opId=(?\\S*)\\s+(?\\S+)\\s+-\\s+(?.*)$" }, "level-thread-class": { - "pattern": "(?\\d{4}-\\d{2}-\\d{2}[ T]\\d{2}:\\d{2}:\\d{2}[,\\.]\\d{3}) (?\\w+)\\s+\\[(?[^\\]]+)\\] (?[^:]+): (?.*)" + "pattern": "^(?\\d{4}-\\d{2}-\\d{2}[ T]\\d{2}:\\d{2}:\\d{2}[,\\.]\\d{1,3}) (?\\w+)\\s+\\[(?[^\\]]+)\\] (?[^:]+): (?.*)" }, "level-class-src": { - "pattern": "(?\\d{4}-\\d{2}-\\d{2}[ T]\\d{2}:\\d{2}:\\d{2}[,\\.]\\d{3}) (?\\w+)\\s+(?[\\.\\w]+) \\((?[^:]+):(?[^(]+)\\((?\\d+)\\)\\) - (?.*)" + "pattern": "^(?\\d{4}-\\d{2}-\\d{2}[ T]\\d{2}:\\d{2}:\\d{2}[,\\.]\\d{1,3}) (?\\w+)\\s+(?[\\.\\w]+) \\((?[^:]+):(?[^(]+)\\((?\\d+)\\)\\) - (?.*)" } }, "level-field": "level",