cmanaha / python-elasticsearch-logger

Python Elasticsearch handler for the standard python logging framework
Other
232 stars 116 forks source link

Setting the connection class #66

Open santidhammo opened 5 years ago

santidhammo commented 5 years ago

For proxy reasons etc, it is necessary to be able to override the default connection_class, the only way to currently achieve that is by accessing the mangled __get_es_client() method. The connection_class should however be a constructor option.