private void setLogLevel(final String level) {
        if (null != level) {
            switch (Integer.parseInt(level)) {
            case 1:
                LOGGER.setLevel(Level.FINEST);
                break;
            case 2:
                LOGGER.setLevel(Level.FINER);
                break;
            case 3:
                LOGGER.setLevel(Level.FINE);
                break;
            case 4:
                LOGGER.setLevel(Level.CONFIG);
                break;
            case 6:
                LOGGER.setLevel(Level.WARNING);
                break;
            case 7:
                LOGGER.setLevel(Level.SEVERE);
                break;
            default :
                LOGGER.setLevel(Level.INFO);
                break;
            }
        }
    }