Adds logging facilities