Re: Facing issue in while doing migration log4j 1.x to 2.x

2023-05-19 Thread Nishu Gupta
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 for Windows




Re: Facing issue in while doing migration log4j 1.x to 2.x

2023-05-19 Thread Volkan Yazıcı
Nishu,

   1. As indicated in the Log4j support page
   , `
   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
   .

Kind regards.

On Fri, May 19, 2023 at 3:16 PM Nishu Gupta 
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 ;
> 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
>  class=3D"com.myproject.logging.JMSQueu=
> eAppender">
> 
>  http://abc.te=
> st.com:3226/>" />
>  value=3D"com.abc.naming.abcdeInitialC=
> ontextFactory" />
>   ttp://abc.def.qwe.ms/>" />
> 
> 
> 
> 
> 
> 
>
>
>  class=3D"com.logging.JMSQueueAppender"=
> >
> 
>  http://abc.te=
> st.com:3226/>" />
>  value=3D"com.abc.naming.abcdeInitialC=
> ontextFactory" />
>   ttp://abc.def.qwe.ms/>" />
> 
> 
> 
> 
> 
> 
>
> 
> 
> 
> 
>
> 
> 
> 
> 
>
> 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 for Windows
>
>
>


Re: Facing issue in while doing migration log4j 1.x to 2.x

2023-05-19 Thread Piotr P. Karwasz
Hi Volkan,

On Fri, 19 May 2023 at 15:22, Volkan Yazıcı  wrote:
>1. As indicated in the Log4j support page
>, `
>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