Elasticsearch: Update log4j2 configuration settings

This updates the configuration settings used for the log4j2
template for Elasticsearch. The previous settings weren't
compatible with the version of Elasticsearch currently being used
(5.6.4)

Change-Id: Id4b02ad022c46d599ae02ef77bb0f81f7e62c9e4
This commit is contained in:
Steve Wilkerson 2018-10-08 17:14:47 -05:00
parent 7c839c82b2
commit 1f4a890343

View File

@ -317,25 +317,13 @@ conf:
</Proxy>
</VirtualHost>
log4j2: |
status = error
appender.console.type = Console
appender.console.name = console
appender.console.layout.type = PatternLayout
appender.console.layout.pattern="[%d{ISO8601}][%-5p][%-25c{1.}] %marker%m%n"
appender.rolling.type=RollingFile
appender.rolling.name=rolling
appender.rolling.fileName="${sys:es.logs.base_path}${sys:file.separator}${hostName}.log"
appender.rolling.filePattern="${sys:es.logs.base_path}${sys:file.separator}${hostName}.log.%i"
appender.rolling.layout.type=PatternLayout
appender.rolling.layout.pattern="[%d{DEFAULT}][%-5p][%-25c] %.10000m%n"
appender.rolling.policies.type=Policies
appender.rolling.policies.size.type=SizeBasedTriggeringPolicy
appender.rolling.policies.size.size=100MB
appender.rolling.strategy.type=DefaultRolloverStrategy
appender.rolling.strategy.max=5
appender.rolling.strategy.fileIndex=min
appender.console.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] %marker%m%n
rootLogger.level = info
rootLogger.appenderRef.console.ref = console
rootLogger.appenderRef.rolling.ref=rolling
init:
max_map_count: 262144
ceph: