Redirect doctrine message to log