Do not use jsonevent-layout for error logs in JSON format
So far the net.logstash.log4j.jsonevent-layout package was used to format the error logs to JSON. This format was not suitable for the httpd- and sshd logs and thus was not used there. Also the format provided by the dependency was not configurable, e.g. did not allow to change the timestamp. This resulted in different timestamp formats for the text- and the json-formatted error logs. To be more flexible in the formatting of the json logs, this change removes the dependency. It keeps however the ISO8601-formatted timestamp, but adds the timezone offset and thus does not assume the UTC timezone. In a followup change the timestamps of all logs will be adapted to the same standard. Change-Id: I3a2bdba5d4b25067d0324fb63438e2a6ec726c68
This commit is contained in:
@@ -72,8 +72,6 @@ Apache2.0
|
||||
* jetty:server
|
||||
* jetty:servlet
|
||||
* jetty:util
|
||||
* log:json-smart
|
||||
* log:jsonevent-layout
|
||||
* log:log4j
|
||||
* lucene:lucene-analyzers-common
|
||||
* lucene:lucene-core-and-backward-codecs-merged
|
||||
|
||||
Reference in New Issue
Block a user