def get_log4j2_conf_dir():
    cppaths = [CLUSTER_CONF_DIR]
    storm_log4j2_conf_dir = confvalue('storm.log4j2.conf.dir', cppaths)
    if ((storm_log4j2_conf_dir == None) or (storm_log4j2_conf_dir == 'null')):
        storm_log4j2_conf_dir = STORM_LOG4J2_CONF_DIR
    elif (not os.path.isabs(storm_log4j2_conf_dir)):
        storm_log4j2_conf_dir = os.path.join(STORM_DIR, storm_log4j2_conf_dir)
    return storm_log4j2_conf_dir
def get_log4j2_conf_dir():
    cppaths = [CLUSTER_CONF_DIR]
    storm_log4j2_conf_dir = confvalue('storm.log4j2.conf.dir', cppaths)
    if ((storm_log4j2_conf_dir == None) or (storm_log4j2_conf_dir == 'null')):
        storm_log4j2_conf_dir = STORM_LOG4J2_CONF_DIR
    elif (not os.path.isabs(storm_log4j2_conf_dir)):
        storm_log4j2_conf_dir = os.path.join(STORM_DIR, storm_log4j2_conf_dir)
    return storm_log4j2_conf_dir