private AppenderRef getConsoleAppender(Configuration configuration,
			LoggerConfig rootLoggerConfigiguration) {
		String consoleAppenderName = "console";
		List<AppenderRef> appenders = rootLoggerConfigiguration.getAppenderRefs();
		for (AppenderRef ref : appenders) {
			String refName = ref.getRef();
			if (refName.equals(consoleAppenderName)) {
				return ref;
			}
		}

		fail("Unable to find the logging console appender");
		return null;
	}
A convenience method to change the log level of the given logger name. The logger name is
typically the class name that contains specialized logging. You may also pass a package name
to get logging for all classes in that package. See
{@link Configurator#setLevel(String, Level)}
<P>
The console appender's log level will be changed if needed to ensure that messages for the
given log level are displayed.
<P>
The log system will be reset to the default settings when the test is finished.

@param loggerName the logger name
@param newLevel the new log level to use
Ghidra/Framework/Generic/src/main/java/generic/test/AbstractGenericTest.java