Collect startup output before logging it