private void initSystemLogger() { File loggerConfig = new File(deployDir, LOGGER_CONFIG); if (loggerConfig.canRead()) { hasSystemLogger = true; try { register(loggerConfig); deploy(); } catch (Exception e) { getLog().warn("init-system-logger", e); } } getLog().info("Q2 started, deployDir=" + deployDir.getAbsolutePath()); }
public boolean accept(File f) { return f.canRead() && (f.getName().endsWith(".xml") || (recursive && f.isDirectory() && !"lib".equalsIgnoreCase(f.getName()))); }