Don't assume log output is available immediately.
Lint fixes.