internetitem / logback-elasticsearch-appender

Logback Elasticsearch Appender
Other
233 stars 137 forks source link

allow overriding ElasticsearchWriter for those who want a non restrictive https mode #80

Open zg2pro opened 3 years ago

zg2pro commented 3 years ago

Hi,

Currently it's hard to make elasticsearch-appender work with https. Of course there is always the solution to register certificates into jvm but it's not handy especially if you have certificates with only 1 year validity, then you'd need many things to manage. If you let this method protected, people can override this method, override the ElasticsearchWriter, so when they want to trust all certificates, they can do it.

Best regards