That would be a gamble on the classpath order of everything. The majority of the work I did toward the bridge was working on a way to dynamically inject Log4j into JUL to take over existing loggers and such. However, that may be overly complicated. Just a bit.
On 23 August 2014 00:26, Remko Popma <[email protected]> wrote: > Could we set this property ourselves in the JUL bridge jar? So that just > including this jar would set the system property? (Just thinking out > loud...) > > Sent from my iPhone > > On 2014/08/23, at 3:44, Matt Sicker <[email protected]> wrote: > > That was my goal at least with the work I did a little while back. Though > simplifying the requirements to making the user specify the correct system > property to choose Log4j2 does make that a whole lot easier. > > > On 22 August 2014 18:17, Gary Gregory <[email protected]> wrote: > >> On Fri, Aug 22, 2014 at 7:12 PM, Matt Sicker <[email protected]> wrote: >> >>> With SLF4J, JCL, and Log4j1 compatibility, I think we're far better than >>> JCL. I think we need a proper java.util.logger bridge as well to be a >>> complete replacement, though. >>> >> >> I agree there, a bridge would round things out. For 2.1? >> >> Gary >> >> >>> >>> >>> On 22 August 2014 18:08, Gary Gregory <[email protected]> wrote: >>> >>>> I do not think it matters from the Commons POV. I am the Commons PMC >>>> Chair FYI. Commons as a community can think and do what it wants with >>>> Commons Logging. What I am more concerned about is if, we, the Log4j >>>> Community can say with confidence "Log4j 2 is so good that we consider >>>> Commons Logging obsolete because A, B and C". >>>> >>>> Gary >>>> >>>> >>>> On Fri, Aug 22, 2014 at 5:44 PM, Matt Sicker <[email protected]> wrote: >>>> >>>>> Have you asked this on the commons mailing list? >>>>> >>>>> >>>>> On 20 August 2014 09:46, Matt Sicker <[email protected]> wrote: >>>>> >>>>>> I'd certainly say so. Commons Logging doesn't have parameterized >>>>>> messages or markers; that's a pretty big feature at this point. >>>>>> >>>>>> >>>>>> On 20 August 2014 08:42, Gary Gregory <[email protected]> wrote: >>>>>> >>>>>>> Hi All, >>>>>>> >>>>>>> I'd like to say that Log4j 2 deprecates Apache Commons Logging, but >>>>>>> it feels like a stretch. >>>>>>> >>>>>>> Thoughts? >>>>>>> >>>>>>> Gary >>>>>>> >>>>>>> -- >>>>>>> E-Mail: [email protected] | [email protected] >>>>>>> Java Persistence with Hibernate, Second Edition >>>>>>> <http://www.manning.com/bauer3/> >>>>>>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> >>>>>>> Spring Batch in Action <http://www.manning.com/templier/> >>>>>>> Blog: http://garygregory.wordpress.com >>>>>>> Home: http://garygregory.com/ >>>>>>> Tweet! http://twitter.com/GaryGregory >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Matt Sicker <[email protected]> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Matt Sicker <[email protected]> >>>>> >>>> >>>> >>>> >>>> -- >>>> E-Mail: [email protected] | [email protected] >>>> Java Persistence with Hibernate, Second Edition >>>> <http://www.manning.com/bauer3/> >>>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> >>>> Spring Batch in Action <http://www.manning.com/templier/> >>>> Blog: http://garygregory.wordpress.com >>>> Home: http://garygregory.com/ >>>> Tweet! http://twitter.com/GaryGregory >>>> >>> >>> >>> >>> -- >>> Matt Sicker <[email protected]> >>> >> >> >> >> -- >> E-Mail: [email protected] | [email protected] >> Java Persistence with Hibernate, Second Edition >> <http://www.manning.com/bauer3/> >> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> >> Spring Batch in Action <http://www.manning.com/templier/> >> Blog: http://garygregory.wordpress.com >> Home: http://garygregory.com/ >> Tweet! http://twitter.com/GaryGregory >> > > > > -- > Matt Sicker <[email protected]> > > -- Matt Sicker <[email protected]>
