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 http://abc.te= st.com:3226/>" /> " /> http://abc.te= st.com:3226/>" /> " /> 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
Re: Facing issue in while doing migration log4j 1.x to 2.x
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 ; 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 http://abc.te= st.com:3226/>" /> " /> http://abc.te= st.com:3226/>" /> " /> 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
Re: Facing issue in while doing migration log4j 1.x to 2.x
Hi Piotr, Thanks for the response. Currently we are using log4j1.2.17 jar, and PFA log4j.xml used in 1.x. For 1.x to 2.x I replace the above jar with the below jar. Jar log4j-1.2-api-2.20.0.jar log4j-api-2.20.0.jar log4j-core-2.20.0.jar log4j-slf4j-impl-2.20.0.jar I did the set the `log4j1.compatibility` to `true` in the custom properties. Do I need to use the log4j.xml while using the bridge jar? or I need to convert to log4j2.xml as well? Regards, Nishu From: Piotr P. Karwasz Sent: Friday, May 19, 2023 9:41 PM To: dev@logging.apache.org Cc: Nishu Gupta Subject: Re: Facing issue in while doing migration log4j 1.x to 2.x Hi Volkan, On Fri, 19 May 2023 at 15:22, Volkan Yazıcı wrote: >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. Actually Nishu cross-posted his question to both mailing lists, but I answered only on `log4j-user`. Piotr http://jakarta.apache.org/log4j/";>
Re: Facing issue in while doing migration log4j 1.x to 2.x
Hi All, Here is the log4j and lo4j2 xml. I need a help for how jms call trigger? regards, Nishu From: Nishu Gupta Sent: Wednesday, May 24, 2023 10:17 AM To: Piotr P. Karwasz ; dev@logging.apache.org Cc: log4j-user-h...@logging.apache.org Subject: Re: Facing issue in while doing migration log4j 1.x to 2.x Hi Piotr, Thanks for the response. Currently we are using log4j1.2.17 jar, and PFA log4j.xml used in 1.x. For 1.x to 2.x I replace the above jar with the below jar. Jar log4j-1.2-api-2.20.0.jar log4j-api-2.20.0.jar log4j-core-2.20.0.jar log4j-slf4j-impl-2.20.0.jar I did the set the `log4j1.compatibility` to `true` in the custom properties. Do I need to use the log4j.xml while using the bridge jar? or I need to convert to log4j2.xml as well? Regards, Nishu From: Piotr P. Karwasz Sent: Friday, May 19, 2023 9:41 PM To: dev@logging.apache.org Cc: Nishu Gupta Subject: Re: Facing issue in while doing migration log4j 1.x to 2.x Hi Volkan, On Fri, 19 May 2023 at 15:22, Volkan Yazıcı wrote: >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. Actually Nishu cross-posted his question to both mailing lists, but I answered only on `log4j-user`. Piotr http://jakarta.apache.org/log4j/";> [%d{MMM dd, h:mm:ss:a z}] [%X{SM_USER}-%X{MS}] [%p] [%C] [%m]%n