Use a default logger rather than raising if no log was set