Limit max single log length to 1K.