Add logging and logstash support