### Question:
GpUtil { public static void initGpLogging() throws FactoryConfigurationError { if (Logger.getRootLogger().getAllAppenders().hasMoreElements()) return; DOMConfigurator.configure(GPProps.class .getResource("/geopublishing_log4j.xml")); Logger.getRootLogger().addAppender( Logger.getLogger("dummy").getAppender("gpFileLogger")); String logLevelStr = GPProps.get(Keys.logLevel); if (logLevelStr != null) { Logger.getRootLogger().setLevel(Level.toLevel(logLevelStr)); } initBugReporting(); }  static void initGpLogging(); static void initBugReporting(); static Set<Locale> getAvailableLocales(); static String R(String key, Object... values); static String R(final String key, Locale reqLanguage,
			final Object... values); final static String getRandomID(String prefix); static void writeCpg(DpLayerVectorFeatureSource dpe); static File chooseFileOpenFallback(Component parent,
			File startFolder, String title, FileExtensionFilter... filters); static void checkAndResetTmpDir(String path); static final FileExtensionFilter IMAGE_FILE_FILTER; static final FileExtensionFilter GIS_FILE_FILTER; static final Mailer bugReportMailer; static final IOFileFilter FontsFilesFilter; static final MbDecimalFormatter MbDecimalFormatter; }### Answer:
@Test @Ignore public void testInitGpLogging() { GpUtil.initGpLogging(); assertEquals(2, countRootLoggers()); GpUtil.initGpLogging(); assertEquals(2, countRootLoggers()); }