It isn’t a “trap”.  It is simply that you are the first person to ask for the 
feature - at least in the last 4 years that I have been following this list.  
We generally only implement things either we want to use ourselves or that we 
find interesting or compelling. If you, or someone else, provides an 
implementation for this we would surely consider including it.

Ralph

> On Jan 5, 2015, at 7:00 AM, Goran Karlic <[email protected]> wrote:
> 
> Thank you for the specific and quick answer.
> 
> Am I right to suspect that log4j to JUL does not exist is a "trap" meant to 
> force people to bother with log4j when they would be perfectly happy with 
> JUL? :-)
> 
> Sounds a bit Microsoftish. :-D
> 
>> On 05 Jan 2015, at 21:38, Remko Popma <[email protected]> wrote:
>> 
>> Yes, log4j currently does not support this, so you would have to implement 
>> this yourself. I recommend that you consider doing this the other way around 
>> and route the JUL logging to log4j2. This would give you the performance 
>> benefits of async loggers, flexible layouts like PatternLayout, and other 
>> conveniences like Lookups, without having to write a single line of java 
>> code. 
>> 
>> Sent from my iPhone
>> 
>>> On 2015/01/05, at 21:59, Goran Karlic <[email protected]> wrote:
>>> 
>>> Hi,
>>> 
>>> I just want to redirect log4j to JUL - not the other way around.
>>> 
>>> Obviously Google can answer JUL to log4j, but not log4j to JUL - this is 
>>> why I am asking the question here.
>>> 
>>> How come there is no way to do this simple thing?
>>> 
>>> I have some 3rd party module that uses log4j and I just want to make it 
>>> output the logs via JUL.
>>> 
>>> Do I have to implement it myself?
>>> 
>>> Thank you!
>>> 
>>> 
>>>> On 05 Jan 2015, at 20:20, Remko Popma <[email protected]> wrote:
>>>> 
>>>> Hi,
>>>> 
>>>> The log4j-jul module lets one redirect JUL logging to log4j (so you can 
>>>> use async loggers and other log4j2 features). 
>>>> 
>>>> There is currently no way to redirect application logging that uses the 
>>>> log4j api to a JUL implementation. 
>>>> 
>>>> Best,
>>>> Remko
>>>> 
>>>> Sent from my iPhone
>>>> 
>>>>> On 2015/01/05, at 15:13, Goran Karlic <[email protected]> wrote:
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> How can I configure log4j to redirect output to java.util.logging?
>>>>> 
>>>>> Thank you!
>>>>> 
>>>>> 
>>>>> 
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: [email protected]
>>>>> For additional commands, e-mail: [email protected]
>>>> 
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [email protected]
>>>> For additional commands, e-mail: [email protected]
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to