Nishu, 1. As indicated in the Log4j support page <https://logging.staged.apache.org/log4j/2.x/support.html>, ` dev@logging.apache.org` mailing list is used for development-related discussions. In the future, please use `log4j-u...@logging.apache.org` instead. 2. Piotr has already responded to your question, though he moved the conversation to `log4j-user@` instead, hence, I suppose, that is the reason you couldn't see his response <https://lists.apache.org/thread/grqczy1ykcgcprh9dxwdclxdnxtszxnd>.
Kind regards. On Fri, May 19, 2023 at 3:16 PM Nishu Gupta <nishugupta1...@outlook.com> wrote: > Hi Dev team, > > Did you get a chance to look into the below mail? > > regards, > Nishu Gupta > ________________________________ > From: Nishu Gupta > Sent: Tuesday, May 16, 2023 10:08 AM > To: dev@logging.apache.org <dev@logging.apache.org>; > log4j-u...@logging.apache.org <log4j-u...@logging.apache.org> > Subject: Facing issue in while doing migration log4j 1.x to 2.x > > > Hi Dev Team, > > I need some information regarding log4j. > > Currently I am using log4j 1.x version. I am trying to migrate from 1.x to > = > 2.x using bridge jar. > > we are using below category in log4j1.xml > <appender name=3D"app.businessEvent" > class=3D"com.myproject.logging.JMSQueu= > eAppender"> > <param name=3D"threshold" value=3D"info" /> > <param name=3D"provideUrl" value=3D"abcde://abc.test.com:3226< > http://abc.te= > st.com:3226/>" /> > <param name=3D"initialContextFactory" > value=3D"com.abc.naming.abcdeInitialC= > ontextFactory" /> > <param name=3D"queueConnectionFactoryBindingName" value=3D"abc.def.qwe.ms > <h= > ttp://abc.def.qwe.ms/>" /> > <param name=3D"queueBinding" value=3D"anc.def.create" /> > <param name=3D"messageOnly" value=3D"true" /> > <param name=3D"username" value=3D"abc" /> > <param name=3D"password" value=3D"abc" /> > <param name=3D"queueDeliveryMode" value=3D"2" /> > </appender> > > > <appender name=3D"app.criticalEvent" > class=3D"com.logging.JMSQueueAppender"= > > > <param name=3D"threshold" value=3D"info" /> > <param name=3D"provideUrl" value=3D"abcde://abc.test.com:3226< > http://abc.te= > st.com:3226/>" /> > <param name=3D"initialContextFactory" > value=3D"com.abc.naming.abcdeInitialC= > ontextFactory" /> > <param name=3D"queueConnectionFactoryBindingName" value=3D"abc.def.qwe.ms > <h= > ttp://abc.def.qwe.ms/>" /> > <param name=3D"queueBinding" value=3D"anc.def.create" /> > <param name=3D"messageOnly" value=3D"true" /> > <param name=3D"username" value=3D"xyz" /> > <param name=3D"password" value=3D"xyz" /> > <param name=3D"queueDeliveryMode" value=3D"2" /> > </appender> > > <logger name=3D"businessEvent"> > <level vaule=3D"info" /> > <appender-ref ref=3D"app.businessEvent" /> > </logger> > > <logger name=3D"criticalEvent"> > <level vaule=3D"info" /> > <appender-ref ref=3D"app.criticalEvent" /> > </logger> > > I am trying to convert into logj2.xml and we have custom class > JMSQueueAppe= > nder which extends AppenderSkeleton for logging the event. > > Could you please help me out in the migration? > > > Thanks & regards > Nishu Gupta > > > > Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows > > >