change how we do debug logging