Make default logs more friendly to unit tests.