Enabled optional logging of traffic data to CouchDB