fix raven logging