Re: Any news on the Log4j 2 upgrade?

2014-07-21 Thread Jean-Baptiste Onofré

It sounds good, we can compare our two forks ;)

Regards
JB

On 07/22/2014 07:03 AM, Matt Sicker wrote:

I have a fork of pax-logging here: <
https://github.com/jvz/org.ops4j.pax.logging> where I started working on
porting some parts for log4j2.


On 21 July 2014 23:56, Jean-Baptiste Onofré  wrote:


Hi Matt,

I didn't use log4j-slf4j-impl as I did a pax-logging-service native log4j
service.
However, it could be interesting as a transition to support log4jv2
directly in Karaf without a new version of pax-logging.
Let me try it.

Thanks for the update

Regards
JB


On 07/21/2014 11:41 PM, Matt Sicker wrote:


Log4j2 has slf4j versions of log4j2 markers, so it would work fine to use
the SLF4J ones. In fact, if it helps, you can use the log4j-slf4j-impl
bundle to bridge log4j-api and log4j-core into slf4j-api.


On 21 July 2014 14:28, Jean-Baptiste Onofré  wrote:

  Hi Gareth,


I refactored the Markers to use slf4j marker in the case of usage of
slf4j
pax-logging-service usage, or natively log4j2 native when using log4j
pax-logging-service.
I will add a couple of unit test about that.

Regards
JB


On 07/21/2014 07:36 PM, Gareth wrote:

  Hello Jean-Baptiste,


I am curious - for the 1.8.0 release are you planning to do anything
different with Markers? I understand that Pax Logging currently converts
any
Markers into an MDC parameter (slf4j.marker) because log4j doesn't
support
them. However both log4j2 and logback do support Markers natively. Just
curious.

thanks in advance,
Gareth



--
View this message in context: http://karaf.922171.n3.nabble.
com/Any-news-on-the-Log4j-2-upgrade-tp4034325p4034344.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.


  --

Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com







--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com







--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: Any news on the Log4j 2 upgrade?

2014-07-21 Thread Matt Sicker
I have a fork of pax-logging here: <
https://github.com/jvz/org.ops4j.pax.logging> where I started working on
porting some parts for log4j2.


On 21 July 2014 23:56, Jean-Baptiste Onofré  wrote:

> Hi Matt,
>
> I didn't use log4j-slf4j-impl as I did a pax-logging-service native log4j
> service.
> However, it could be interesting as a transition to support log4jv2
> directly in Karaf without a new version of pax-logging.
> Let me try it.
>
> Thanks for the update
>
> Regards
> JB
>
>
> On 07/21/2014 11:41 PM, Matt Sicker wrote:
>
>> Log4j2 has slf4j versions of log4j2 markers, so it would work fine to use
>> the SLF4J ones. In fact, if it helps, you can use the log4j-slf4j-impl
>> bundle to bridge log4j-api and log4j-core into slf4j-api.
>>
>>
>> On 21 July 2014 14:28, Jean-Baptiste Onofré  wrote:
>>
>>  Hi Gareth,
>>>
>>> I refactored the Markers to use slf4j marker in the case of usage of
>>> slf4j
>>> pax-logging-service usage, or natively log4j2 native when using log4j
>>> pax-logging-service.
>>> I will add a couple of unit test about that.
>>>
>>> Regards
>>> JB
>>>
>>>
>>> On 07/21/2014 07:36 PM, Gareth wrote:
>>>
>>>  Hello Jean-Baptiste,
>>>>
>>>> I am curious - for the 1.8.0 release are you planning to do anything
>>>> different with Markers? I understand that Pax Logging currently converts
>>>> any
>>>> Markers into an MDC parameter (slf4j.marker) because log4j doesn't
>>>> support
>>>> them. However both log4j2 and logback do support Markers natively. Just
>>>> curious.
>>>>
>>>> thanks in advance,
>>>> Gareth
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context: http://karaf.922171.n3.nabble.
>>>> com/Any-news-on-the-Log4j-2-upgrade-tp4034325p4034344.html
>>>> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>>>>
>>>>
>>>>  --
>>> Jean-Baptiste Onofré
>>> jbono...@apache.org
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>>
>>
>>
>>
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>



-- 
Matt Sicker 


Re: Any news on the Log4j 2 upgrade?

2014-07-21 Thread Jean-Baptiste Onofré

Hi Matt,

I didn't use log4j-slf4j-impl as I did a pax-logging-service native 
log4j service.
However, it could be interesting as a transition to support log4jv2 
directly in Karaf without a new version of pax-logging.

Let me try it.

Thanks for the update

Regards
JB

On 07/21/2014 11:41 PM, Matt Sicker wrote:

Log4j2 has slf4j versions of log4j2 markers, so it would work fine to use
the SLF4J ones. In fact, if it helps, you can use the log4j-slf4j-impl
bundle to bridge log4j-api and log4j-core into slf4j-api.


On 21 July 2014 14:28, Jean-Baptiste Onofré  wrote:


Hi Gareth,

I refactored the Markers to use slf4j marker in the case of usage of slf4j
pax-logging-service usage, or natively log4j2 native when using log4j
pax-logging-service.
I will add a couple of unit test about that.

Regards
JB


On 07/21/2014 07:36 PM, Gareth wrote:


Hello Jean-Baptiste,

I am curious - for the 1.8.0 release are you planning to do anything
different with Markers? I understand that Pax Logging currently converts
any
Markers into an MDC parameter (slf4j.marker) because log4j doesn't support
them. However both log4j2 and logback do support Markers natively. Just
curious.

thanks in advance,
Gareth



--
View this message in context: http://karaf.922171.n3.nabble.
com/Any-news-on-the-Log4j-2-upgrade-tp4034325p4034344.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com







--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: Any news on the Log4j 2 upgrade?

2014-07-21 Thread Matt Sicker
Log4j2 has slf4j versions of log4j2 markers, so it would work fine to use
the SLF4J ones. In fact, if it helps, you can use the log4j-slf4j-impl
bundle to bridge log4j-api and log4j-core into slf4j-api.


On 21 July 2014 14:28, Jean-Baptiste Onofré  wrote:

> Hi Gareth,
>
> I refactored the Markers to use slf4j marker in the case of usage of slf4j
> pax-logging-service usage, or natively log4j2 native when using log4j
> pax-logging-service.
> I will add a couple of unit test about that.
>
> Regards
> JB
>
>
> On 07/21/2014 07:36 PM, Gareth wrote:
>
>> Hello Jean-Baptiste,
>>
>> I am curious - for the 1.8.0 release are you planning to do anything
>> different with Markers? I understand that Pax Logging currently converts
>> any
>> Markers into an MDC parameter (slf4j.marker) because log4j doesn't support
>> them. However both log4j2 and logback do support Markers natively. Just
>> curious.
>>
>> thanks in advance,
>> Gareth
>>
>>
>>
>> --
>> View this message in context: http://karaf.922171.n3.nabble.
>> com/Any-news-on-the-Log4j-2-upgrade-tp4034325p4034344.html
>> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>>
>>
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>



-- 
Matt Sicker 


Re: Any news on the Log4j 2 upgrade?

2014-07-21 Thread Jean-Baptiste Onofré

Hi Gareth,

I refactored the Markers to use slf4j marker in the case of usage of 
slf4j pax-logging-service usage, or natively log4j2 native when using 
log4j pax-logging-service.

I will add a couple of unit test about that.

Regards
JB

On 07/21/2014 07:36 PM, Gareth wrote:

Hello Jean-Baptiste,

I am curious - for the 1.8.0 release are you planning to do anything
different with Markers? I understand that Pax Logging currently converts any
Markers into an MDC parameter (slf4j.marker) because log4j doesn't support
them. However both log4j2 and logback do support Markers natively. Just
curious.

thanks in advance,
Gareth



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Any-news-on-the-Log4j-2-upgrade-tp4034325p4034344.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: Any news on the Log4j 2 upgrade?

2014-07-21 Thread Gareth
Hello Jean-Baptiste,

I am curious - for the 1.8.0 release are you planning to do anything
different with Markers? I understand that Pax Logging currently converts any
Markers into an MDC parameter (slf4j.marker) because log4j doesn't support
them. However both log4j2 and logback do support Markers natively. Just
curious.

thanks in advance,
Gareth



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Any-news-on-the-Log4j-2-upgrade-tp4034325p4034344.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.


Re: Any news on the Log4j 2 upgrade?

2014-07-20 Thread Matt Sicker
Sounds good! I may have some pull requests regarding this.


On 20 July 2014 23:28, Jean-Baptiste Onofré  wrote:

> Hi Matt,
>
> I started to work on Log4j v2 support in Pax Logging. It's plan for Pax
> Logging 1.8.0. I released Pax Logging 1.7.3 last week (with bug fixes and
> upgrade like support of slf4j 1.7.7).
>
> I plan to release Pax Logging 1.8.0 with Log4j v2 support beginning of
> August.
>
> Regards
> JB
>
>
> On 07/21/2014 01:32 AM, Matt Sicker wrote:
>
>> Log4j 2.0 was officially released not that long ago, and 2.0.1 will be
>> released soon with improved OSGi support. Is there any news on PaxLogging
>> or even just Karaf using it?
>>
>>
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>



-- 
Matt Sicker 


Re: Any news on the Log4j 2 upgrade?

2014-07-20 Thread Jean-Baptiste Onofré

Hi Matt,

I started to work on Log4j v2 support in Pax Logging. It's plan for Pax 
Logging 1.8.0. I released Pax Logging 1.7.3 last week (with bug fixes 
and upgrade like support of slf4j 1.7.7).


I plan to release Pax Logging 1.8.0 with Log4j v2 support beginning of 
August.


Regards
JB

On 07/21/2014 01:32 AM, Matt Sicker wrote:

Log4j 2.0 was officially released not that long ago, and 2.0.1 will be
released soon with improved OSGi support. Is there any news on PaxLogging
or even just Karaf using it?



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Any news on the Log4j 2 upgrade?

2014-07-20 Thread Matt Sicker
Log4j 2.0 was officially released not that long ago, and 2.0.1 will be
released soon with improved OSGi support. Is there any news on PaxLogging
or even just Karaf using it?

-- 
Matt Sicker