Add limit to get_log_lines