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

Principal user names and JAAS

2018-11-11 Thread Rainer Jung
Hi again, in the various realm implementations we generate our own GenericPrincipal nearly always using the user name supplied by the authenticate() call. In the JAAS case there could be implementations which provide their own "real" user names in the userPrincipal they return. We do make the

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

AccessLogValve using STDOUT

2018-11-11 Thread Rainer Jung
Hi all, I don't like it but in managed container environments application instances tend to get configured to write any log output to STDOUT (than everything is caught and redirected to a log concentrator). I could be wrong, but I think there is no appropriate way of doing it with our standa