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:
parent
7c839c82b2
commit
1f4a890343
@ -317,25 +317,13 @@ conf:
|
|||||||
</Proxy>
|
</Proxy>
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
log4j2: |
|
log4j2: |
|
||||||
appender.console.type=Console
|
status = error
|
||||||
appender.console.name=console
|
appender.console.type = Console
|
||||||
appender.console.layout.type=PatternLayout
|
appender.console.name = console
|
||||||
appender.console.layout.pattern="[%d{ISO8601}][%-5p][%-25c{1.}] %marker%m%n"
|
appender.console.layout.type = PatternLayout
|
||||||
appender.rolling.type=RollingFile
|
appender.console.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] %marker%m%n
|
||||||
appender.rolling.name=rolling
|
rootLogger.level = info
|
||||||
appender.rolling.fileName="${sys:es.logs.base_path}${sys:file.separator}${hostName}.log"
|
rootLogger.appenderRef.console.ref = console
|
||||||
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
|
|
||||||
rootLogger.level=info
|
|
||||||
rootLogger.appenderRef.console.ref=console
|
|
||||||
rootLogger.appenderRef.rolling.ref=rolling
|
|
||||||
init:
|
init:
|
||||||
max_map_count: 262144
|
max_map_count: 262144
|
||||||
ceph:
|
ceph:
|
||||||
|
Loading…
Reference in New Issue
Block a user