Add log lines limit to main