[Bug 227] New: org.apache.log4j.Layout mistakenly in org.apache.log4j.spi

http://bugzilla.slf4j.org/show_bug.cgi?id=227 Summary: org.apache.log4j.Layout mistakenly in org.apache.log4j.spi Product: SLF4J Version: 1.6.x Platform: All OS/Version: All Status: NEW Severity: blocker Priority: P1 Component: log4j-over-slf4j AssignedTo: slf4j-dev@qos.ch ReportedBy: jmsteward@gmail.com This may block development that should reference org.apache.log4j.Layout. Currently in the log4j-over-slf4j component Layout mistakenly exists at org.apache.log4j.spi and should be moved to org.apache.log4j. org.apache.log4j.Appender will need refactoring to remove the line "import org.apache.log4j.spi.Layout;". -- Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.

http://bugzilla.slf4j.org/show_bug.cgi?id=227 jmsteward@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |225 -- Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.

http://bugzilla.slf4j.org/show_bug.cgi?id=227 Matthias Bosshard <matthias.bosshard@hrm-systems.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matthias.bosshard@hrm-syste | |ms.ch -- Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.

http://bugzilla.slf4j.org/show_bug.cgi?id=227 Alfredo Ramos <alfredor@causata.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alfredor@causata.com --- Comment #1 from Alfredo Ramos <alfredor@causata.com> --- I have this problem as well, which is breaking third party libraries. The Appender interface is not compatible with the actual log4j Appender due to the method signature of getLayout and setLayout. They both use the wrong class org.apache.log4j.spi.Layout. -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.slf4j.org/show_bug.cgi?id=227 --- Comment #2 from Alfredo Ramos <alfredor@causata.com> --- Created attachment 96 --> http://bugzilla.slf4j.org/attachment.cgi?id=96&action=edit Proposed patch for Appender interface Here is a patch that removes the wrong import line and fixes set/get layout method signatures. -- You are receiving this mail because: You are the assignee for the bug.
participants (2)
-
bugzilla-daemon@pixie.qos.ch
-
bugzilla-daemon@qos.ch