I try to store all the logs at sentry instance. Accordingly to this thread I tried the following:
Added sentry appender to loggin.yml:
es.logger.level: INFO
rootLogger: ${es.logger.level}, console, sentry
...
appender:
console:
type: console
layout:
type: consolePattern
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
sentry:
type: net.kencochrane.raven.log4j.SentryAppender
dsn: "http://...@..."
And copied raven-5.0.jar
, raven-log4j-5.0.jar
and raven-logback-5.0.jar
to es/lib folder. No errors during start but sentry has no records even with warning messages at console. ES's version is 2.1.0.
Do I miss something?