display_name and log_type as parameters

added display_name and log_type as parameters