public static Level parseLogLevel(String levelName)
		throws ParseException
	{
		if (levelName.equals("off"))
		{
			return Level.OFF;
		}
		else if (levelName.equals("severe"))
		{
			return Level.SEVERE;
		}
		else if (levelName.equals("warning"))
		{
			return Level.WARNING;
		}
		else if (levelName.equals("info"))
		{
			return Level.INFO;
		}
		else if (levelName.equals("config"))
		{
			return Level.CONFIG;
		}
		else if (levelName.equals("fine"))
		{
			return Level.FINE;
		}
		else if (levelName.equals("finer"))
		{
			return Level.FINER;
		}
		else if (levelName.equals("finest"))
		{
			return Level.FINEST;
		}
		else if (levelName.equals("all"))
		{
			return Level.ALL;
		}
		else
		{
			throw new ParseException("Unrecognized log level", 0);
		}
	}