[lsc-changes] r410 - in lsc/trunk/src/main/java/org/lsc: beans utils utils/output/csv

rschermesser at lsc-project.org rschermesser at lsc-project.org
Sat Nov 7 22:40:59 CET 2009


Author: rschermesser
Date: 2009-11-07 22:40:59 +0100 (Sat, 07 Nov 2009)
New Revision: 410

Modified:
   lsc/trunk/src/main/java/org/lsc/beans/BeanComparator.java
   lsc/trunk/src/main/java/org/lsc/utils/LocalizedJndiModificationsLayout.java
   lsc/trunk/src/main/java/org/lsc/utils/output/csv/CsvLayout.java
Log:
Remove log4j references

Modified: lsc/trunk/src/main/java/org/lsc/beans/BeanComparator.java
===================================================================
--- lsc/trunk/src/main/java/org/lsc/beans/BeanComparator.java	2009-11-07 21:37:08 UTC (rev 409)
+++ lsc/trunk/src/main/java/org/lsc/beans/BeanComparator.java	2009-11-07 21:40:59 UTC (rev 410)
@@ -87,7 +87,6 @@
      */
     private BeanComparator() {}
 
-    /** LOG4J local logger. */
     private static final Logger LOGGER = LoggerFactory.getLogger(BeanComparator.class);
 
     /**

Modified: lsc/trunk/src/main/java/org/lsc/utils/LocalizedJndiModificationsLayout.java
===================================================================
--- lsc/trunk/src/main/java/org/lsc/utils/LocalizedJndiModificationsLayout.java	2009-11-07 21:37:08 UTC (rev 409)
+++ lsc/trunk/src/main/java/org/lsc/utils/LocalizedJndiModificationsLayout.java	2009-11-07 21:40:59 UTC (rev 410)
@@ -68,7 +68,7 @@
 import org.lsc.jndi.JndiModifications;
 
 /**
- * Provides a localized Log4J layout for LDAP entries.
+ * Provides a localized logback layout for LDAP entries.
  *
  * @author Sebastien Bahloul <seb at lsc-project.org>
  */
@@ -339,7 +339,6 @@
 	/**
 	 * Parse options
 	 *
-	 * @see org.apache.log4j.Layout#activateOptions()
 	 */
 	@Override
 	public void start() {

Modified: lsc/trunk/src/main/java/org/lsc/utils/output/csv/CsvLayout.java
===================================================================
--- lsc/trunk/src/main/java/org/lsc/utils/output/csv/CsvLayout.java	2009-11-07 21:37:08 UTC (rev 409)
+++ lsc/trunk/src/main/java/org/lsc/utils/output/csv/CsvLayout.java	2009-11-07 21:40:59 UTC (rev 410)
@@ -77,7 +77,7 @@
 	/* The separator of the log operations */
 	protected static String OPTIONS_SEPARATOR = ",";
 
-	/* Configurations from the log4j.properties */
+	/* Configurations from the log configuration */
 	private String logOperations;
 	private String attrs;
 	private String separator = DEFAULT_SEPARATOR;
@@ -104,7 +104,6 @@
 	 *
 	 * WARN : We only write the first value of each attribute because we write in a 2 dimensional format
 	 *
-	 * @see org.apache.log4j.PatternLayout#format(org.apache.log4j.spi.LoggingEvent)
 	 */
 	@Override
 	public String doLayout(ILoggingEvent event) {
@@ -164,7 +163,6 @@
 	/**
 	 * Parse options
 	 *
-	 * @see org.apache.log4j.Layout#activateOptions()
 	 */
 	@Override
 	public void start() {
@@ -202,7 +200,7 @@
 			}
 		} else {
 			LOGGER.warn("There is no attributes to write in the CSV file.\nSet the " +
-							"log4j.appender.NAME.layout.attrs property.");
+							"attrs property in the logback configuration file");
 		}
 
 		/* Parse task names to log for */



More information about the lsc-changes mailing list