Re: java.lang.ClassCastException: org.apache.log4j.bridge.AppenderWrapper cannot be cast to org.apache.log4j.FileAppender
Gary Gregory <[email protected]>
| Newsgroups | gmane.comp.jakarta.log4j.user |
|---|---|
| Message-ID | <CACZkXPyjm-uPDVixp0C_8mBzf6R=rHY2FwBNaZKBH-uF1GHPFg@mail.gmail.com> |
What is the stack trace? Gary On Fri, Mar 4, 2022, 03:36 Pooja Pandey <[email protected]> wrote: > Hi Team, > > > > I am trying to migrate from log4j1.x to log4j2.17.2 using log4j1.x bridge > approach. I am getting below ClassCastException error message. Please let > me know if you have any idea how to fix this. > > > > java.lang.ClassCastException: org.apache.log4j.bridge.AppenderWrapper > cannot be cast to org.apache.log4j.FileAppender > > > > Thanks, > > Pooja >