public void info(final String message, final Throwable throwable) { log_.info(message, throwable); }
public void info(final String message) { log_.info(message); }
public void destroy() { super.destroy(); log_.info("WEBDAV SERVICE STOP"); }
public void init(ServletConfig config) { super.init(config); webdavEnabled_ = webdavPlugin_.isWebdavEnabled(); if (webdavEnabled_) { log_.info("WEBDAV SERVICE START"); } if (dirContext_ == null) { setDirContext(webdavPlugin_.getDirContext()); } }
log_.info("[SKIP] Plugin is disabled: plugin-id=" + id); enabledPluginMap_.remove(id); Class pluginIf = ClassUtils.getSubInterface(plugin.getClass(),
public synchronized void clearIndex() { if (log_.isDebugEnabled()) { log_.debug("clear index"); } File indexDir = new File(indexDirPath_); if (!indexDir.exists()) { indexDir.mkdirs(); if (log_.isInfoEnabled()) { log_.info("CREATE INDEX DIR: " + indexDirPath_); } } IndexWriter writer = null; try { writer = newIndexWriter(true); } catch (IOException ex) { throw new IORuntimeException(ex); } finally { if (writer != null) { try { writer.close(); } catch (IOException ex) { if (log_.isWarnEnabled()) { log_.warn("Can't close index writer", ex); } } } } }
ExtensionElement old = replaceMap.get(fullId); if (old != null) { log_.info("Duplicate replace action: full-id=" + fullId + ", old=" + old + ", new=" + element);
log_.info("Exception has occured", ex);
for (int i = 0; i < dirs.length; i++) { if (!dirs[i].isDirectory()) { log_.info("Ignore: is not a directory: " + dirs[i]); continue;
void stagePlugins() { final Resource pluginsDirectory = kvasir_.getPluginsDirectory(); final Resource stagingDirectory = kvasir_.getStagingDirectory() .getChildResource(Globals.PLUGINS_DIR); if (!stagingDirectory.exists()) { return; } for (final Resource stagingPlugin : stagingDirectory.listResources()) { final String pluginDirectoryName = stagingPlugin.getName(); final Resource target = pluginsDirectory .getChildResource(pluginDirectoryName); if (target.exists()) { ResourceUtils.deleteChildren(target); if (log_.isInfoEnabled()) { log_.info("replace: " + pluginDirectoryName); } } else { target.mkdir(); if (log_.isInfoEnabled()) { log_.info("install: " + pluginDirectoryName); } } ResourceUtils.copy(stagingPlugin, target); ResourceUtils.delete(stagingPlugin, true); } }
mold.close(); } catch (Throwable t) { log_.info("Can't close ResourceMold", t);