From 137b94eb45d66e038410568f4d55e0d11f50fe3e Mon Sep 17 00:00:00 2001 From: Thomas McWork Date: Mon, 29 May 2017 16:05:56 +0200 Subject: [PATCH] adding a log format pattern for glassfish 3/4/payara application servers --- patterns/java | 1 + 1 file changed, 1 insertion(+) diff --git a/patterns/java b/patterns/java index d32b1e27..99294009 100644 --- a/patterns/java +++ b/patterns/java @@ -17,3 +17,4 @@ TOMCAT_DATESTAMP 20%{YEAR}-%{MONTHNUM}-%{MONTHDAY} %{HOUR}:?%{MINUTE}(?::?%{SECO CATALINALOG %{CATALINA_DATESTAMP:timestamp} %{JAVACLASS:class} %{JAVALOGMESSAGE:logmessage} # 2014-01-09 20:03:28,269 -0800 | ERROR | com.example.service.ExampleService - something compeletely unexpected happened... TOMCATLOG %{TOMCAT_DATESTAMP:timestamp} \| %{LOGLEVEL:level} \| %{JAVACLASS:class} - %{JAVALOGMESSAGE:logmessage} +GLASSFISHLOG \[%{TIMESTAMP_ISO8601:timestamp}\] \[%{DATA:product_name}\] \[%{WORD:severity}\] \[%{DATA:message_id}\] \[%{DATA:logger}\] \[tid: %{DATA:thread}\] \[timeMillis: %{NONNEGINT:time_millis}\] \[levelValue: %{NONNEGINT:level_value}\] \[\[\n %{GREEDYDATA:payload}\]\] \ No newline at end of file