Make instantiation of Fluentd and Elasticsearch logging conditional on an env var