def process_other_logs(other_logs):
    """
    Takes a dictionary of Display Name, filename pairs for logs in the IDS_LOG_DIRECTORY and populates
    the JOB_OTHER_LOGS with a dictionary containing the Display Name and file contents.
    """
    print_debug("process_other_logs() called")
    print_msg("Processing other logs")
    if len(other_logs) > 0:
        all_other_logs = {}
        for log_name in other_logs:
            if not os.path.exists("%s/%s" % (IDS_LOG_DIRECTORY, other_logs[log_name])):
                log_name_new = other_logs[log_name].replace("-", "_")
                if log_name_new != other_logs[log_name]:
                    print_debug(
                        "Log file '%s' not present, trying '%s'..."
                        % (other_logs[log_name], log_name_new)
                    )
                    other_logs[log_name] = log_name_new
            if os.path.exists("%s/%s" % (IDS_LOG_DIRECTORY, other_logs[log_name])):
                log_fh = open("%s/%s" % (IDS_LOG_DIRECTORY, other_logs[log_name]), "r")
                all_other_logs[log_name] = log_fh.read()
                log_fh.close()
                if all_other_logs[log_name] == "":
                    print_debug('log "%s" is empty, not including' % log_name)
                    del all_other_logs[log_name]
            else:
                print_debug(
                    "Requested log file '%s' not present, skipping."
                    % other_logs[log_name]
                )
        other_logs_fh = open(JOB_OTHER_LOGS, "w")
        other_logs_fh.write(json.dumps(all_other_logs))
        other_logs_fh.close()
    else:
        print_debug("No additional logs requested.")

    Takes a dictionary of Display Name, filename pairs for logs in the IDS_LOG_DIRECTORY and populates
    the JOB_OTHER_LOGS with a dictionary containing the Display Name and file contents.
    
dalton-agent/dalton-agent.py