code: public static void configureLog4j() {
          LoggingTool localLogger = new LoggingTool(LoggingTool.class);
          try { // NOPMD
              org.apache.log4j.PropertyConfigurator.configure(LoggingTool.class
                      .getResource("/org/openscience/cdk/config/data/log4j.properties"));
          } catch (NullPointerException e) { // NOPMD
              localLogger.error("Properties file not found: ", e.getMessage());
              localLogger.debug(e);
          } catch (Exception e) {
              localLogger.error("Unknown error occurred: ", e.getMessage());
              localLogger.debug(e);
          }
      }
docs: Forces the <code>LoggingTool</code> to configure the Log4J toolkit.
  Normally this should be done by the application that uses the CDK library,
  but is available for convenience.