Re: log4j2 API and JUL logging framework

2023-01-24 Thread Ralph Goers
The log4j-jul module is what maps anyone coding to java.util.logging to use Log4j 2 as the recommendation. The log4j-to-jul module is used when Log4j 2 is the API and java.util.logging is the implementation. Note that log4j-to-jul is fairly new. It was introduced by LOG4J2-3282 in Jira in Jan 2

Re: log4j2 API and JUL logging framework

2023-01-24 Thread Usha Nayak
Thank you all for your response. I did look through the documentation. However, the impression I got from the 'Using log4j2 with JUL' section was that log4j2 is used as a logging framework (application uses JUL lib and with 'log4j-jul' bridge connects to log4j2 logging framework) . In my case, it

Re: log4j2 API and JUL logging framework

2023-01-24 Thread Gary Gregory
How about https://logging.apache.org/log4j/2.x/manual/api-separation.html Gary On Tue, Jan 24, 2023, 18:31 Matt Sicker wrote: > That’s the log4j-to-jul module. I can’t find a link on the site, but > here’s the module overview page: > https://logging.apache.org/log4j/2.x/log4j-to-jul/index.html

Re: log4j2 API and JUL logging framework

2023-01-24 Thread Matt Sicker
That’s the log4j-to-jul module. I can’t find a link on the site, but here’s the module overview page: https://logging.apache.org/log4j/2.x/log4j-to-jul/index.html > On Jan 24, 2023, at 5:01 PM, Usha Nayak wrote: > > Hello All, > > As a library owner, if I were to use the log4j2 API and the ap

log4j2 API and JUL logging framework

2023-01-24 Thread Usha Nayak
Hello All, As a library owner, if I were to use the log4j2 API and the application that uses my library has a java.util.logging ( JUL ) framework. What adapter or routing jars will be needed at runtime by application such that all the logs, both from the library and the application, end up using