[jboss-svn-commits] JBL Code SVN: r25020 - labs/jbosslabs/labs-3.0-build/integration/cs-settings/src/main/java/org/jboss/labs/clearspace/plugin/settings.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Jan 30 09:34:05 EST 2009
Author: lkrzyzanek
Date: 2009-01-30 09:34:04 -0500 (Fri, 30 Jan 2009)
New Revision: 25020
Modified:
labs/jbosslabs/labs-3.0-build/integration/cs-settings/src/main/java/org/jboss/labs/clearspace/plugin/settings/SettingsPlugin.java
Log:
javadoc changed.
log factory switched to log4j
Modified: labs/jbosslabs/labs-3.0-build/integration/cs-settings/src/main/java/org/jboss/labs/clearspace/plugin/settings/SettingsPlugin.java
===================================================================
--- labs/jbosslabs/labs-3.0-build/integration/cs-settings/src/main/java/org/jboss/labs/clearspace/plugin/settings/SettingsPlugin.java 2009-01-30 14:33:31 UTC (rev 25019)
+++ labs/jbosslabs/labs-3.0-build/integration/cs-settings/src/main/java/org/jboss/labs/clearspace/plugin/settings/SettingsPlugin.java 2009-01-30 14:34:04 UTC (rev 25020)
@@ -1,28 +1,28 @@
/*
-* JBoss.org http://jboss.org/
-*
-* Copyright © 2008 Red Hat Middleware, LLC. All rights reserved.
-*
-* This copyrighted material is made available to anyone wishing to use,
-* modify, copy, or redistribute it subject to the terms and conditions
-* of the GNU Lesser General Public License, v. 2.1.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT A WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License, v.2.1 along with this distribution; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-* 02110-1301, USA.
-*
-* Red Hat Author(s): Libor Krzyzanek, Ryszard Kozmik
-*/
+ * JBoss.org http://jboss.org/
+ *
+ * Copyright (c) 2009 Red Hat Middleware, LLC. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT A WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License, v.2.1 along with this distribution; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ *
+ * Red Hat Author(s): Libor Krzyzanek, Ryszard Kozmik
+ */
package org.jboss.labs.clearspace.plugin.settings;
-import java.util.logging.Logger;
-
+import org.apache.log4j.LogManager;
+import org.apache.log4j.Logger;
import org.apache.lucene.search.BooleanQuery;
import com.jivesoftware.base.plugin.Plugin;
@@ -37,8 +37,8 @@
public class SettingsPlugin implements Plugin<SettingsPlugin> {
/** Logger */
- private static final Logger log = Logger.getLogger(SettingsPlugin.class
- .getName());
+ protected static final Logger log = LogManager
+ .getLogger(SettingsPlugin.class);
/**
* Plugin name
@@ -51,7 +51,7 @@
public static final String PROPERTY_MAX_CLAUSE_COUNT = "search.lucene.maxClauses";
public void init() {
- log.fine("Init " + PLUGIN_NAME);
+ log.debug("Init " + PLUGIN_NAME);
log.info("Actual maxClauseCount: " + BooleanQuery.getMaxClauseCount());
int maxClauseCount = JiveGlobals.getJiveIntProperty(
"search.lucene.maxClauses", 10240);
@@ -59,11 +59,11 @@
.info("Jive maxClauseCount (Jive property is 'search.lucene.maxClauses', default is 10240): "
+ maxClauseCount);
BooleanQuery.setMaxClauseCount(maxClauseCount);
- log.fine("Initialize completed");
+ log.debug("Initialize completed");
}
public void destroy() {
- log.fine(PLUGIN_NAME + " destroyed");
+ log.debug(PLUGIN_NAME + " destroyed");
}
}
More information about the jboss-svn-commits
mailing list