
http://bugzilla.qos.ch/show_bug.cgi?id=45 Summary: ClassCastException with log4j-bridge Product: logback-general Version: unspecified Platform: PC OS/Version: Windows Status: NEW Severity: blocker Priority: P1 Component: build-structure AssignedTo: logback-dev@qos.ch ReportedBy: mreynolds@anystream.com I am using log4j-bridge version 0.9. Many of the methods in org.apache.log4j.Category cast "Object message" to String resulting in a ClassCastException if the logging call is passing an object other than a String. Instead of casting, you should probably call message.toString(), which, in the absence of RenderSupport, is what log4j would do anyway. Thanks for logback! -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.