Not able to get log files daily for elasticsearch


(Dharmesh) #1

OS: Centos
ELaticsearch Version: 2.2.2
Content of logging.yml
file:
type: dailyRollingFile
file: ${path.logs}/${cluster.name}.log
datePattern: "'.'yyyy-MM-dd"
layout:
type: pattern
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %.10000m%n"

I can see logs at /var/log/elasticsearch but it is not daily. It is generating files on random days.

Can anyone faced this issue?


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.