/** * Changes the level of logging. See {@link DseLoggingLevel} for details. * * Also configures a basic console appender for log4j. * * @param dseLoggingLevel */ public static void turnOnLoggingWithBasicConfig(DseLoggingLevel dseLoggingLevel) { BasicConfigurator.configure(); Logger.getRootLogger().setLevel(Level.WARN); turnOnLogging(dseLoggingLevel); }