private static void logConfigLocation() throws LogInitializationException {
    // Log a warning if hive-default.xml is found on the classpath
    if (MetastoreConf.getHiveDefaultLocation() != null) {
      l4j.warn("DEPRECATED: Ignoring hive-default.xml found on the CLASSPATH at "
        + MetastoreConf.getHiveDefaultLocation().getPath());
    }
    // Look for hive-site.xml on the CLASSPATH and log its location if found.
    if (MetastoreConf.getHiveSiteLocation() == null) {
      l4j.warn("hive-site.xml not found on CLASSPATH");
    } else {
      l4j.debug("Using hive-site.xml found on CLASSPATH at "
        + MetastoreConf.getHiveSiteLocation().getPath());
    }
  }
Initialize log4j.

@return an message suitable for display to the user
@throws LogInitializationException if log4j fails to initialize correctly
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/LogUtils.java