code: public static void reload(String configFile) {
      	LogLog.debug("Will reload log4j based on config-file " + configFile);
          if (configFile != null) {
              if (configFile.endsWith(XML_FILE_EXENSION)) {
              	LogLog.debug("...using DOMConfigurator.configure()");
              	DOMConfigurator.configure(configFile);
  
              } else if (configFile.endsWith(".properties")) {
              	LogLog.debug("...using PropertyConfigurator.configure()");
                  PropertyConfigurator.configure(configFile);
  
              }
              if (logger.isInfoEnabled()) {
                  logger.info("Reloads log4j configuration: " + configFile);
              }
          }
      }
docs: (Re)Loads the config file using {@link DOMConfigurator} for {@code .xml} files and {@link PropertyConfigurator} for {@code .proeprties} files.
  
  @param configFile log4j configuration file, {@code .properties} or {@code .xml}