[slf4j-dev] svn commit: r1289 - slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/ext

rgoers at slf4j.org rgoers at slf4j.org
Fri Mar 20 07:34:16 CET 2009


Author: rgoers
Date: Fri Mar 20 07:34:16 2009
New Revision: 1289

Modified:
   slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/ext/EventLogger.java

Log:
Change EventLogger log level to info

Modified: slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/ext/EventLogger.java
==============================================================================
--- slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/ext/EventLogger.java	(original)
+++ slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/ext/EventLogger.java	Fri Mar 20 07:34:16 2009
@@ -9,7 +9,7 @@
 
 /**
  * Simple Logger used to log events. All events are directed to a logger named "EventLogger"
- * with a level of ERROR (the closest to "always" that SLF4J gets) and with an Event marker.
+ * with a level of INFO and with an Event marker.
  *
  * @author Ralph Goers
  */
@@ -36,9 +36,9 @@
   public static void logEvent(EventData data) {
     if (eventLogger.instanceofLAL) {
       ((LocationAwareLogger) eventLogger.logger).log(EVENT_MARKER, FQCN,
-          LocationAwareLogger.ERROR_INT, data.toXML(), null);
+          LocationAwareLogger.INFO_INT, data.toXML(), null);
     } else {
-      eventLogger.logger.error(EVENT_MARKER, data.toXML(), data);
+      eventLogger.logger.info(EVENT_MARKER, data.toXML(), data);
     }
   }
 }



More information about the slf4j-dev mailing list