Report correct log size; make sure to flush stdout/err.