Hello,
we are using Elasticsearch 1.6 and have configured in the logging.yml a logger which compresses a log file when it achieves a maximal size of 50MB:
file:
type: extrasRollingFile
file: ${path.logs}/${cluster.name}.log
rollingPolicy: timeBased
rollingPolicy.FileNamePattern: ${path.logs}/${cluster.name}.%d{yyyy-MM-dd}.gz.log
triggeringPolicy: sizeBased
triggeringPolicy.maxFileSize: 50000000
layout:
type: pattern
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
However i dont see the rolling of files happen when it crosses 50MB.
Is anything is missing in above configuration? please advice.
thanks in advance,
Chandrashekhar