Le 2 sept. 2017 22:34, "Matt Sicker" <boa...@gmail.com> a écrit :
Using JUL for any library, while dependency-free, is the worst of all worlds as it creates a huge overhead in logging. The only workaround in production applications is to disable logging to any logger tied to JUL, and then you have the fun of debugging production issues without logs. Which is the case for the server part in general since otherwise you get way too much logs and they dont give you much in info mode. Also depend the impl, in tomee we have some optimized handlers making it fast enough - even faster than log4j2 in some marginal cases. Once again the issue is the risk to break users and to ensure the api is consistent accross all libs (jcs, openjpa, tomee, cxf, activemq, commons, ...). It is clearly not "is it good or bad" and tomee switch from log4j1 to jul reduced the number of issues about the logging quite a lot and increase the logging consistency. There is no free lunch ;). On 2 September 2017 at 13:04, Romain Manni-Bucau <rmannibu...@gmail.com> wrote: > Hi Gary, > > Can only be done in 3.x since we can't break it in a minor. > > Now more on the ecosystem it would also mean dropping or forking JCS from > TomEE since TomEE will stay JUL first for its stack and provides a light > facade to switch to log4j2 (long story short: it is to avoid to enforce a > lib users can not want or to avoid potential conflicts). > > However reworking the logging in JCS can be interesting, current log usage > is slow and sometimes in synchronized blocks so I guess we can be better. > > > > Romain Manni-Bucau > @rmannibucau <https://twitter.com/rmannibucau> | Blog > <https://blog-rmannibucau.rhcloud.com> | Old Blog > <http://rmannibucau.wordpress.com> | Github <https://github.com/ > rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory > <https://javaeefactory-rmannibucau.rhcloud.com> > > 2017-09-02 19:55 GMT+02:00 Gary Gregory <garydgreg...@gmail.com>: > > > Hi All, > > > > How about updating JCS from Commons Logging to Log4j 2? > > > > Gary > > > -- Matt Sicker <boa...@gmail.com>