Don't log to stdout when testing.