OpenSearch/config/logging.yml

27 lines
569 B
YAML

rootLogger: INFO, console, file
logger:
# log action execution errors for easier debugging
action: DEBUG
# gateway
#gateway: DEBUG
#index.gateway: DEBUG
# peer shard recovery
#index.shard.recovery: DEBUG
appender:
console:
type: console
layout:
type: consolePattern
conversionPattern: "[%d{ABSOLUTE}][%-5p][%-25c] %m%n"
file:
type: dailyRollingFile
file: ${path.logs}/${cluster.name}.log
datePattern: "'.'yyyy-MM-dd"
layout:
type: pattern
conversionPattern: "[%d{ABSOLUTE}][%-5p][%-25c] %m%n"