Hi Piotr, I don’t understand what is the bug?? Can you please help me with JIRA ticket summary and description.
Thank you so much for your help. Get Outlook for iOS<https://aka.ms/o0ukef> ________________________________ From: Piotr P. Karwasz <[email protected]> Sent: Saturday, March 5, 2022 12:27:50 PM To: Log4J Users List <[email protected]> Subject: Re: java.lang.ClassCastException: org.apache.log4j.bridge.AppenderWrapper cannot be cast to org.apache.log4j.FileAppender *** External email: Verify sender before opening attachments or links *** Hi Pooja, On Sat, Mar 5, 2022 at 3:01 AM Pooja Pandey <[email protected]> wrote: > @Override > public Appender getAppender(final String name) { > AppenderWrapper appenderWrapper = (AppenderWrapper) > super.getAppender(name); > return > ((AppenderAdapter.Adapter)appenderWrapper.getAppender()).getAppender(); > } Thank you for this example: now I understand what is happening. This is clearly a bug in the Log4j 1.x bridge. Please, file an issue on JIRA. Piotr --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
