[slf4j-dev] [Bug 64] New: Logger.trace() throw exception NoSuchFieldError with older log4j version
bugzilla-daemon at pixie.qos.ch
bugzilla-daemon at pixie.qos.ch
Mon Nov 5 16:45:09 CET 2007
http://bugzilla.slf4j.org/show_bug.cgi?id=64
Summary: Logger.trace() throw exception NoSuchFieldError with
older log4j version
Product: SLF4J
Version: 1.4.x
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: minor
Priority: P4
Component: Core API
AssignedTo: dev at slf4j.org
ReportedBy: mbernhard at atlas.cz
Log4J - 1.2.9
slf4j-log4japi 1.4.2
slf4j - 1.4.2
i use method trace() on Logger object and it failed:
stack trace:
java.lang.NoSuchFieldError: TRACE
org.slf4j.impl.Log4jLoggerAdapter.trace(Log4jLoggerAdapter.java:90)
I know it's because log4j support trace level since 1.2.12, but what about to
throw better kind of exception when back logging system is log4j. information
like "you need log4j with trace support (1.2.12+)..."
--
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the slf4j-dev
mailing list