Adds logging to raven