Re: AccessLogValve using STDOUT

2018-11-12 Thread Rainer Jung
Thanks for the pointer. Am 12.11.2018 um 10:53 schrieb Romain Manni-Bucau: @Rainer: if it helps you can test with this file handler: https://github.com/apache/tomee/blob/master/tomee/tomee-juli/src/main/java/org/apache/tomee/jul/handler/rotating/LocalFileHandler.java Romain Manni-Bucau @rmannib

Re: AccessLogValve using STDOUT

2018-11-12 Thread Romain Manni-Bucau
@Rainer: if it helps you can test with this file handler: https://github.com/apache/tomee/blob/master/tomee/tomee-juli/src/main/java/org/apache/tomee/jul/handler/rotating/LocalFileHandler.java Romain Manni-Bucau @rmannibucau | Blog

Re: AccessLogValve using STDOUT

2018-11-12 Thread Rainer Jung
Hi Mark, Am 12.11.2018 um 10:40 schrieb Mark Thomas: On 11/11/2018 10:48, Rainer Jung wrote: Hi Romain, Am 11.11.2018 um 11:16 schrieb Romain Manni-Bucau: Hi Rainer, There is an abstract access valve do providing a log impl (like [1]) can enable that - plus other standard stuff like pushing

Re: AccessLogValve using STDOUT

2018-11-12 Thread Mark Thomas
On 11/11/2018 10:48, Rainer Jung wrote: > Hi Romain, > > Am 11.11.2018 um 11:16 schrieb Romain Manni-Bucau: >> Hi Rainer, >> >> There is an abstract access valve do providing a log impl (like [1]) can >> enable that - plus other standard stuff like pushing on kafka accesses - >> without hardcoding

Re: AccessLogValve using STDOUT

2018-11-11 Thread Romain Manni-Bucau
Le dim. 11 nov. 2018 à 15:41, Christopher Schultz < ch...@christopherschultz.net> a écrit : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Romain, > > On 11/11/18 05:57, Romain Manni-Bucau wrote: > > I think the perf point is likely wrong. Default JUL handlers are > > "slow" (the hypothes

Re: AccessLogValve using STDOUT

2018-11-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Romain, On 11/11/18 05:57, Romain Manni-Bucau wrote: > I think the perf point is likely wrong. Default JUL handlers are > "slow" (the hypothesis being you log a lot but this is more > comparatively to others frameworks) but if you switch the handler

Re: AccessLogValve using STDOUT

2018-11-11 Thread Romain Manni-Bucau
I think the perf point is likely wrong. Default JUL handlers are "slow" (the hypothesis being you log a lot but this is more comparatively to others frameworks) but if you switch the handler impl you can even bit log4j2 disruptor setup so JUL is not slow by itself but only its configuration can be

Re: AccessLogValve using STDOUT

2018-11-11 Thread Rainer Jung
Hi Romain, Am 11.11.2018 um 11:16 schrieb Romain Manni-Bucau: Hi Rainer, There is an abstract access valve do providing a log impl (like [1]) can enable that - plus other standard stuff like pushing on kafka accesses - without hardcoding an stdout stream which can not work in docker in some set

Re: AccessLogValve using STDOUT

2018-11-11 Thread Romain Manni-Bucau
Hi Rainer, There is an abstract access valve do providing a log impl (like [1]) can enable that - plus other standard stuff like pushing on kafka accesses - without hardcoding an stdout stream which can not work in docker in some setup (where tomcat is launched by another process and redirects onl