small changes on last_log_lines params
small fixes