
http://bugzilla.slf4j.org/show_bug.cgi?id=246 Summary: EventLogger.logEvent() does not pass the EventData as an object. Product: SLF4J Version: 1.6.x Platform: PC OS/Version: Mac OS X 10.3 Status: NEW Severity: critical Priority: P1 Component: slf4j-ext AssignedTo: slf4j-dev@qos.ch ReportedBy: rgoers@apache.org When this was first written LocationAwareLogger did not support passing objects. When it was modified EventLogger should have been modified to pass the EventData as an object but instead passes a null. logEvent should be modified as: public static void logEvent(EventData data) { if (eventLogger.instanceofLAL) { ((LocationAwareLogger) eventLogger.logger).log(EVENT_MARKER, FQCN, LocationAwareLogger.INFO_INT, data.toXML(), new Object[] {data}, null); } else { eventLogger.logger.info(EVENT_MARKER, data.toXML(), data); } } -- Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.