Hi all,
I'd like to configure a smtpappender in logging.yml so that an email is
sent whenever a message is logged.
Unfortunately, the yml configuration isn't very well documented on log4j
homepage and I wasn't able to find any working example in the www.
I also tried to put a separate logging.properties in $ES_HOME$/config, but
didn't get it working.
My last try (not working - no email is being sent):
es.logger.level: INFO
rootLogger: ${es.logger.level}, console, file, email
logger:
...
appender:
console:
....
email:
type: smtp
smtpHost: my.smtp.host
from: es@example.net
to: admin@example.net
subject: ElasticSearch Warning
layout:
type: pattern
conversionPattern: .....
So, does anybody have a working example to do so?
Regards,
Abid
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/58c92f42-0046-453e-add0-3b726cafa822%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.