Re: Getting Tomcat internal logging working

2019-11-08 Thread Mark Thomas
> Mark, > > On 11/8/19 11:54, Mark Thomas wrote: >> +1 but please use debug. Tomcat generally doesn't use trace. The >> expectation is that debug enables all logging. > > Really? I'm happy to use whatever you guys recommend, but this will do > things like: > >log.debug("Generating new CS

Re: Getting Tomcat internal logging working

2019-11-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 11/8/19 09:35, Christopher Schultz wrote: > On 11/7/19 15:20, Konstantin Kolinko wrote: >> This reminds me: ClassLoaderLogManager allows each web >> application to have its own configuration of logging. If you have >> a "logging.prope

Re: Getting Tomcat internal logging working

2019-11-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 11/8/19 11:54, Mark Thomas wrote: >> Konstantin, >> >> On 11/7/19 15:20, Konstantin Kolinko wrote: >>> чт, 7 нояб. 2019 г. в 17:11, Christopher Schultz >>> : I'm using bin/catalina.sh start to launch Tomcat on Macos. The '

Re: Getting Tomcat internal logging working

2019-11-08 Thread Mark Thomas
> Konstantin, > > On 11/7/19 15:20, Konstantin Kolinko wrote: >> чт, 7 нояб. 2019 г. в 17:11, Christopher Schultz >> : >>> >>> I'm using bin/catalina.sh start to launch Tomcat on Macos. The >>> 'ps' command shows the following partial command-line: >>> >>> [...] - >>> -Djava.util.logging.config.fi

Re: Getting Tomcat internal logging working

2019-11-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 11/7/19 15:20, Konstantin Kolinko wrote: > чт, 7 нояб. 2019 г. в 17:11, Christopher Schultz > : >> >> I'm using bin/catalina.sh start to launch Tomcat on Macos. The >> 'ps' command shows the following partial command-line: >> >> [..

Re: Getting Tomcat internal logging working

2019-11-07 Thread Konstantin Kolinko
чт, 7 нояб. 2019 г. в 17:11, Christopher Schultz : > > I'm using bin/catalina.sh start to launch Tomcat on Macos. The 'ps' > command shows the following partial command-line: > > [...] > - -Djava.util.logging.config.file=${CATALINA_BASE}/conf/logging.properties > - -Djava.util.logging.manager=org.a

Re: Getting Tomcat internal logging working

2019-11-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 11/7/19 00:02, Konstantin Kolinko wrote: > чт, 7 нояб. 2019 г. в 05:44, Christopher Schultz > : >> >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> All, >> >> I can't believe I'm having trouble with this, but I'm struggling

Re: Getting Tomcat internal logging working

2019-11-06 Thread Konstantin Kolinko
чт, 7 нояб. 2019 г. в 05:44, Christopher Schultz : > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > All, > > I can't believe I'm having trouble with this, but I'm struggling with > enabling logging. > > I'm experimenting with the CsrfPreventionFilter, which currently has > zero logging at

Getting Tomcat internal logging working

2019-11-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I can't believe I'm having trouble with this, but I'm struggling with enabling logging. I'm experimenting with the CsrfPreventionFilter, which currently has zero logging at all in it. So, first I modified the code to add: + private final