status = error
appenders = console
loggers = action, metadata, cluster, settings, deprecation, slow_search, slow_indexing

# log action execution errors for easier debugging
logger.action.name = org.elasticsearch.action
logger.action.level = info

# do not log metadata too much as we generate a log of noise
logger.metadata.name = org.elasticsearch.cluster.metadata
logger.metadata.level = warn

logger.cluster.name = org.elasticsearch.cluster.routing.allocation
logger.cluster.level = warn

logger.settings.name = org.elasticsearch.common.settings
logger.settings.level = warn

logger.deprecation.name = org.elasticsearch.deprecation
logger.deprecation.level = warn

# Warn us about using inefficient Search operations
logger.slow_search.name = index.search.slowlog
logger.slow_search.level = trace

# Warn us about using inefficient indexing actions
logger.slow_indexing.name = index.indexing.slowlog
logger.slow_indexing.level = trace

appender.console.type = Console
appender.console.name = console
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = %d{ABSOLUTE} (%t) %5p %c{1}:%L - %m%n

rootLogger.level = info
rootLogger.appenderRef.console.ref = console
