2013-08-15 08:35:23 -04:00
|
|
|
# you can override this using by setting a system property, for example -Des.logger.level=DEBUG
|
|
|
|
es.logger.level: INFO
|
|
|
|
rootLogger: ${es.logger.level}, console, file
|
2010-02-08 08:30:06 -05:00
|
|
|
logger:
|
2010-04-06 18:54:33 -04:00
|
|
|
# log action execution errors for easier debugging
|
2010-06-24 08:34:02 -04:00
|
|
|
action: DEBUG
|
2010-07-24 16:39:43 -04:00
|
|
|
# reduce the logging for aws, too much is logged under the default INFO
|
|
|
|
com.amazonaws: WARN
|
2014-12-09 15:39:37 -05:00
|
|
|
org.apache.http: INFO
|
2010-06-24 08:34:02 -04:00
|
|
|
|
|
|
|
# gateway
|
|
|
|
#gateway: DEBUG
|
|
|
|
#index.gateway: DEBUG
|
|
|
|
|
|
|
|
# peer shard recovery
|
2011-09-06 05:40:14 -04:00
|
|
|
#indices.recovery: DEBUG
|
2010-02-08 08:30:06 -05:00
|
|
|
|
2011-07-20 16:29:25 -04:00
|
|
|
# discovery
|
|
|
|
#discovery: TRACE
|
|
|
|
|
2011-11-14 07:10:39 -05:00
|
|
|
index.search.slowlog: TRACE, index_search_slow_log_file
|
2012-12-03 04:21:59 -05:00
|
|
|
index.indexing.slowlog: TRACE, index_indexing_slow_log_file
|
2011-11-14 07:10:39 -05:00
|
|
|
|
|
|
|
additivity:
|
|
|
|
index.search.slowlog: false
|
2012-12-03 04:21:59 -05:00
|
|
|
index.indexing.slowlog: false
|
2011-11-14 07:10:39 -05:00
|
|
|
|
2010-02-08 08:30:06 -05:00
|
|
|
appender:
|
|
|
|
console:
|
|
|
|
type: console
|
|
|
|
layout:
|
|
|
|
type: consolePattern
|
2010-09-15 17:04:47 -04:00
|
|
|
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
|
2010-02-08 08:30:06 -05:00
|
|
|
|
|
|
|
file:
|
|
|
|
type: dailyRollingFile
|
|
|
|
file: ${path.logs}/${cluster.name}.log
|
|
|
|
datePattern: "'.'yyyy-MM-dd"
|
|
|
|
layout:
|
|
|
|
type: pattern
|
2015-05-07 17:53:29 -04:00
|
|
|
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %.10000m%n"
|
2011-11-14 07:10:39 -05:00
|
|
|
|
2014-11-13 05:29:48 -05:00
|
|
|
# Use the following log4j-extras RollingFileAppender to enable gzip compression of log files.
|
|
|
|
# For more information see https://logging.apache.org/log4j/extras/apidocs/org/apache/log4j/rolling/RollingFileAppender.html
|
|
|
|
#file:
|
|
|
|
#type: extrasRollingFile
|
2014-11-19 09:49:37 -05:00
|
|
|
#file: ${path.logs}/${cluster.name}.log
|
2014-11-13 05:29:48 -05:00
|
|
|
#rollingPolicy: timeBased
|
2014-11-19 09:49:37 -05:00
|
|
|
#rollingPolicy.FileNamePattern: ${path.logs}/${cluster.name}.log.%d{yyyy-MM-dd}.gz
|
2014-11-13 05:29:48 -05:00
|
|
|
#layout:
|
|
|
|
#type: pattern
|
2014-11-19 09:49:37 -05:00
|
|
|
#conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
|
2014-11-13 05:29:48 -05:00
|
|
|
|
2011-11-14 07:10:39 -05:00
|
|
|
index_search_slow_log_file:
|
|
|
|
type: dailyRollingFile
|
|
|
|
file: ${path.logs}/${cluster.name}_index_search_slowlog.log
|
|
|
|
datePattern: "'.'yyyy-MM-dd"
|
|
|
|
layout:
|
|
|
|
type: pattern
|
|
|
|
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
|
2012-12-03 04:21:59 -05:00
|
|
|
|
|
|
|
index_indexing_slow_log_file:
|
|
|
|
type: dailyRollingFile
|
|
|
|
file: ${path.logs}/${cluster.name}_index_indexing_slowlog.log
|
|
|
|
datePattern: "'.'yyyy-MM-dd"
|
|
|
|
layout:
|
|
|
|
type: pattern
|
|
|
|
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
|