Truncate command line log if too big.