Re: AW: Problem getting logging from TldScanner

2024-08-06 Thread Mark Thomas
levels to ALL. Thanks for bringing this to our attention. Mark Thanks, Andreas -Ursprüngliche Nachricht- Von: Mark Thomas Gesendet: Dienstag, 6. August 2024 09:58 An: users@tomcat.apache.org Betreff: Re: Problem getting logging from TldScanner WARNING: Do not click links or open

AW: Problem getting logging from TldScanner

2024-08-06 Thread ESI
Betreff: Re: Problem getting logging from TldScanner WARNING: Do not click links or open attachments unless you recognize the source of the email and know the contents are safe. On 05/08/2024 11:07, Döscher, Andreas (ESI) wrote: > Moin, > I wanted to check the TLD scanner and

Re: Problem getting logging from TldScanner

2024-08-06 Thread Mark Thomas
] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. * Yes

Problem getting logging from TldScanner

2024-08-05 Thread ESI
TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. Uncommenting the line

clustering logging erors Tomcat10 with Java 17

2024-04-18 Thread Rick Noel
Hello, Can someone try to explain what this Catalina.log snippet is saying in regards to clustering status? It looks like to me, this machine successfully sent a session data state msg to the other machine in the cluster, but 60 sec later the other machine did not respond with with its session

Re: How to properly enable logging in "org.apache.catalina.core.StandardContext"

2024-03-04 Thread Christopher Schultz
the "juli" framework for logging, which I had seen mentioned in the threads that talk about getting these logs, but I was never able to get it to work. As opposed to using my serious debugging skills, I'd like to figure out how to simply increase the Tomcat logging levels so we can

How to properly enable logging in "org.apache.catalina.core.StandardContext"

2024-02-29 Thread David Karr
7;m not figuring out the correct logger name to use. I was finally able to figure out why this particular failure was happening, but that was by carefully stepping through the code and finding new breakpoints to drill down further. I saw references to the "juli" framework for logging, whi

Re: Session Cookie Logging

2024-02-01 Thread Christopher Schultz
nd of problem. Whatever is in the application's WEB-INF/web.xml file should override the global setting, though. If you are finding that it's not working that way, please file a bug. I just wanted to suggest that it would be great if logging could be enabled to show not only what the

Re: Session Cookie Logging

2024-02-01 Thread Dan McLaughlin
Hey Mark, I was able to identify the problem - there was a session configuration with cookie configuration in the catalina-base/web.xml file. I just wanted to suggest that it would be great if logging could be enabled to show not only what the parameters were set to, but also where the values

Re: Session Cookie Logging

2024-02-01 Thread Mark Thomas
On 27/01/2024 14:38, Dan McLaughlin wrote: Hey Mark, If you see a bug report, then that will mean I was able to reproduce it. I see different behaviors in our local docker environment. Still, it's nowhere as complex as our production environment--where everything is clustered and behind load

Re: Session Cookie Logging

2024-01-27 Thread Dan McLaughlin
Hey Mark, If you see a bug report, then that will mean I was able to reproduce it. I see different behaviors in our local docker environment. Still, it's nowhere as complex as our production environment--where everything is clustered and behind load balancers, etc... It probably would be easier

Re: Session Cookie Logging

2024-01-26 Thread Mark Thomas
On 26/01/2024 22:22, Dan McLaughlin wrote: Hey Konstantin, Thanks for the reply. I synced the source last night. I haven't had a chance to step through with a debugger yet. But the only way I could get the Cookie Path set was to modify the context.xml and add sessionCookiePath to every applicat

Re: Session Cookie Logging

2024-01-26 Thread Dan McLaughlin
Hey Konstantin, Thanks for the reply. I synced the source last night. I haven't had a chance to step through with a debugger yet. But the only way I could get the Cookie Path set was to modify the context.xml and add sessionCookiePath to every application. I'm pretty sure this wasn't how things w

Re: Session Cookie Logging

2024-01-26 Thread Christopher Schultz
Dan, On 1/26/24 02:44, Dan McLaughlin wrote: Well, so much for that theory. __Secure-JSESSIONID still sets the sessionCookiePath to /. I even removed the entire session-config from the web.xml and turned on copyXML to extract the secure#Foo.xml out to the conf/Catalina/localhost folder. Based

Re: Session Cookie Logging

2024-01-26 Thread Konstantin Kolinko
пт, 26 янв. 2024 г. в 04:01, Dan McLaughlin : > > Does anyone know what class we would crank the log level up to see why > Tomcat would ignore cookie-config in our web.xml? > > We are using Tomcat 10.1.18. Our app WAR is named secure#Foo.war. We've > always depended on the name of the WAR to name

Re: Session Cookie Logging

2024-01-25 Thread Dan McLaughlin
Well, so much for that theory. __Secure-JSESSIONID still sets the sessionCookiePath to /. I even removed the entire session-config from the web.xml and turned on copyXML to extract the secure#Foo.xml out to the conf/Catalina/localhost folder. Based on the documentation, if I don't set sessionCook

Re: Session Cookie Logging

2024-01-25 Thread Dan McLaughlin
To give more context we originally moved to use __Host-JSESSIONID but were seeing issues with the cookie getting overwritten when switching between application contexts on the same host. I thought the routeid would play a part in keeping the session cookies separate, but the browsers apparently do

Re: Session Cookie Logging

2024-01-25 Thread Dan McLaughlin
I think I just figured it out. __Host- doesn't allow for setting a path to anything other than /. It would have been nice if Tomcat would have logged an error instead of silently failing, or forcing the path to / and not saying anything. That would have saved me a ton of time. -- Thanks, Dan O

Re: Session Cookie Logging

2024-01-25 Thread Dan McLaughlin
Which one wins the catalina-base/conf/web.xml or the Webapp/WEB-INF/web.xml. I just noticed that the one under catalina base contains: 30 Or do they get merged? Thanks, Dan On Thu, Jan 25, 2024 at 7:00 PM Dan McLaughlin wrote: > Does anyone know what class we would crank the log level u

Session Cookie Logging

2024-01-25 Thread Dan McLaughlin
Does anyone know what class we would crank the log level up to see why Tomcat would ignore cookie-config in our web.xml? We are using Tomcat 10.1.18. Our app WAR is named secure#Foo.war. We've always depended on the name of the WAR to name the Context Path/Name. The only reason I'm messing with

Re: mod_jk logging issue

2023-12-20 Thread Simon Matter
> Hi Rainer/Simon - I've just had another look at this. With no > application running (IOW, all Java processes killed), I see this > behaviour: Sorry, I was confused because I thought we're talking about files from Tomcat and not from Apache/mod_jk. Regards, Simon > >  # systemctl start apache2

Re: mod_jk logging issue

2023-12-20 Thread EML
Hi Rainer/Simon - I've just had another look at this. With no application running (IOW, all Java processes killed), I see this behaviour:  # systemctl start apache2 This create a number of apache2 processes (generally 7). 2 new mod_jk files are created, corresponding to the apache2 process wit

Re: mod_jk logging issue

2023-12-20 Thread Simon Matter
Hi, > Hi - I'm running mod_jk with an Apache front-end, and I'm having an > issue with the JkShmFile files. > > Every time Apache restarts mod_jk creates two new files > (jk-runtime-status.PID and jk-runtime-status.PID.lock). These are never > cleaned up; the log directory simply fills up with the

Re: mod_jk logging issue

2023-12-19 Thread Rainer Jung
Hi there, Am 19.12.23 um 18:05 schrieb EML: Hi - I'm running mod_jk with an Apache front-end, and I'm having an issue with the JkShmFile files. Every time Apache restarts mod_jk creates two new files (jk-runtime-status.PID and jk-runtime-status.PID.lock). These are never cleaned up; the log

mod_jk logging issue

2023-12-19 Thread EML
Hi - I'm running mod_jk with an Apache front-end, and I'm having an issue with the JkShmFile files. Every time Apache restarts mod_jk creates two new files (jk-runtime-status.PID and jk-runtime-status.PID.lock). These are never cleaned up; the log directory simply fills up with these files. Th

Re: Logging format (port %p)

2023-11-18 Thread Christoph Kukulies
s being sent through. > > Where is the logging format "wired" into the config? At the moment I'm seeing > this > (in root@mail:/var/lib/tomcat9/logs# tail -f > localhost_access_log.2023-11-18.txt ): > > 127.0.0.1 - - [18/Nov/2023:14:41:08 +0100] "GET /

Logging format (port %p)

2023-11-18 Thread Christoph Kukulies
I'm running tomcat9 as a backend server and I have configured different ports. For debugging purposes I would like to log the port a request is being sent through. Where is the logging format "wired" into the config? At the moment I'm seeing this (in root@mail:/var/lib/t

Where do find debug logging

2023-09-12 Thread Alan F
We have some applications which are pushing out to their own applogs clearly showing 'Debug' on most lines with a large amount of data and CI. I would like to find out where the app team are setting this level, I have check in the obvious in the war files as it's a Spring Boot app in applicatio

Re: Tomcat webserver is not logging any DEBUG or FINEST logs in catalina.out even after enabling FINEST in logging.proprties file(tomcat-8.5.79/conf/)

2023-06-15 Thread Konstantin Kolinko
чт, 15 июн. 2023 г. в 13:27, Thomson Waghmare : > > I am facing an issue in Linux server that webserver service is restarting > automatically frequently. I tried to enable debug logs by changing the all > logging properties in tomcat-8.5.79/conf/logging.proprties. But I see only > I

Re: Tomcat webserver is not logging any DEBUG or FINEST logs in catalina.out even after enabling FINEST in logging.proprties file(tomcat-8.5.79/conf/)

2023-06-15 Thread Mark Thomas
On 15/06/2023 11:26, Thomson Waghmare wrote: I am facing an issue in Linux server that webserver service is restarting automatically frequently. I tried to enable debug logs by changing the all logging properties in tomcat-8.5.79/conf/logging.proprties. But I see only INFO logs but no FINE or

Tomcat webserver is not logging any DEBUG or FINEST logs in catalina.out even after enabling FINEST in logging.proprties file(tomcat-8.5.79/conf/)

2023-06-15 Thread Thomson Waghmare
I am facing an issue in Linux server that webserver service is restarting automatically frequently. I tried to enable debug logs by changing the all logging properties in tomcat-8.5.79/conf/logging.proprties. But I see only INFO logs but no FINE or FINER or FINEST logs. *logging.properties

Re: Logging

2023-04-05 Thread Christopher Schultz
Kevin, On 4/3/23 12:32, Kevin Huntly wrote: ok, can you tell me what your thoughts are? I'm always interested in new things I would recommend sending an alert to a realtime management system, if at all possible. There are no guarantees if the JVM experiences some trouble, but in my experienc

Re: Logging

2023-04-03 Thread Kevin Huntly
ok, can you tell me what your thoughts are? I'm always interested in new things Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C+

Re: Logging

2023-04-03 Thread Christopher Schultz
Kevin, On 4/3/23 12:10, Kevin Huntly wrote: idk why i add the typeset, but I do everywhere just out of habit. i was trained that way many many moons ago. Is there anything else in my setenv that needs work? That mostly depends upon your environment. The only thing that stuck out to me was th

Re: Logging

2023-04-03 Thread Kevin Huntly
idk why i add the typeset, but I do everywhere just out of habit. i was trained that way many many moons ago. Is there anything else in my setenv that needs work? Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 ___

Re: Logging

2023-04-03 Thread Christopher Schultz
Kevin, On 4/3/23 10:07, Kevin Huntly wrote: I'm launching with startup.sh and I have a setenv: https://pastebin.com/PKRgz2y1 > > typeset JAVA_OPTS="-Xms4096m -Xmx4096m -Dfile.encoding=utf-8 -Djava.awt.headless=true"; You don't want this. You want: typeset CATALINA_OPTS="-Xms4096m -Xmx4096m

Re: Logging

2023-04-03 Thread Christopher Schultz
Kevin, On 4/3/23 10:07, Kevin Huntly wrote: I'm launching with startup.sh and I have a setenv: bin/startup.sh calls bin/catalina.sh. Have a look at the top few pages of catalina.sh to see what environment variables can be used to customize stuff like log file names. https://pastebin.com/P

Re: Logging

2023-04-03 Thread Kevin Huntly
I'm launching with startup.sh and I have a setenv: https://pastebin.com/PKRgz2y1 Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a

Re: Logging

2023-04-03 Thread Christopher Schultz
Kevin, On 4/2/23 09:08, Kevin Huntly wrote: Couple questions: 1. Is there a way to change the default "stdout" to a different name? e.g. SystemOut.log (and by extension, can syserr be printed to something SystemErr.log?) How are you launching Tomcat? 2. When verbose:gc is turned on it logs

Logging

2023-04-02 Thread Kevin Huntly
Hello, Couple questions: 1. Is there a way to change the default "stdout" to a different name? e.g. SystemOut.log (and by extension, can syserr be printed to something SystemErr.log?) 2. When verbose:gc is turned on it logs a ton of stuff to stdout, can that output be redirected to a different f

Logging

2023-03-28 Thread John Dale (DB2DOM)
Good coding does customer service. I wanted to thank whoever put this in the logs. :) 28-Mar-2023 06:56:26.974 WARNING [main] org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory.getObjectInstance Name = model Property maxActive is not used in DBCP2, use maxTotal instead. maxTotal default value is

Re: Apache Tomcat wire logging does not show POST data payload

2023-03-09 Thread Christopher Schultz
see the POST data payload. Is there a way to get this logged too? Tomcat doesn't have anything to do with this kind of connection or logging. I think you want to post your question to either the http-client or log4j mailing lists. -

Apache Tomcat wire logging does not show POST data payload

2023-03-09 Thread Aditya Kumar
I edited my log4j2.xml to include these lines: Now in my defined serverlog I see the http wire traffic I am after. However there is one problem. For POST requests from my Tomcat server I can only see request/response HTTP headers. I cannot see the POST data payload. Is there a way to get

Re: Basic SSL Certificate Usage logging

2023-02-16 Thread Mark Thomas
On 16/02/2023 16:44, jonmcalexan...@wellsfargo.com.INVALID wrote: Hi Mark! Thanks so much. Please provide the sample code. :-) https://people.apache.org/~markt/dev/custom-certificate-debug-logs.txt Enjoy. Mark - To unsubsc

RE: Basic SSL Certificate Usage logging

2023-02-16 Thread jonmcalexander
9 AM > To: users@tomcat.apache.org > Subject: Re: Basic SSL Certificate Usage logging > > On 15/02/2023 23:03, Mark Thomas wrote: > > On 15/02/2023 22:56, jonmcalexan...@wellsfargo.com.INVALID wrote: > >> They also had this question. > >> > >>

Re: Basic SSL Certificate Usage logging

2023-02-16 Thread Mark Thomas
On 15/02/2023 23:03, Mark Thomas wrote: On 15/02/2023 22:56, jonmcalexan...@wellsfargo.com.INVALID wrote: They also had this question. There seems to be no need to print both TEXT and HEX representations, like below (just HEX string should be fine): KeyIdentifier [ : CD 35 CB AD 62 91 65

Re: Basic SSL Certificate Usage logging

2023-02-15 Thread Mark Thomas
ately by reply e-mail and delete this message. Thank you for your cooperation. -Original Message- From: Mark Thomas Sent: Wednesday, February 15, 2023 4:48 PM To: users@tomcat.apache.org Subject: Re: Basic SSL Certificate Usage logging On 15/02/2023 22:17, jonmca

RE: Basic SSL Certificate Usage logging

2023-02-15 Thread jonmcalexander
reply e-mail and delete this message. Thank you for your cooperation. > -Original Message- > From: jonmcalexan...@wellsfargo.com.INVALID > > Sent: Wednesday, February 15, 2023 4:57 PM > To: users@tomcat.apache.org > Subject: RE: Basic SSL Certificate Usage logging >

RE: Basic SSL Certificate Usage logging

2023-02-15 Thread jonmcalexander
: Re: Basic SSL Certificate Usage logging > > On 15/02/2023 22:17, jonmcalexan...@wellsfargo.com.INVALID wrote: > > Hi Mark, > > > > I got a big thumbs up from our team here. They did have 2 questions and of > course you can just tell us to go pound sand. > > > > 1.

Re: Basic SSL Certificate Usage logging

2023-02-15 Thread Mark Thomas
, February 15, 2023 2:17 PM To: users@tomcat.apache.org Subject: Re: Basic SSL Certificate Usage logging On 10/02/2023 15:42, jonmcalexan...@wellsfargo.com.INVALID wrote: Once again, Awesome Possum! You guys are the greatest! How about this? (uses the simple toString() approach) https

RE: Basic SSL Certificate Usage logging

2023-02-15 Thread jonmcalexander
age- > From: Mark Thomas > Sent: Wednesday, February 15, 2023 2:17 PM > To: users@tomcat.apache.org > Subject: Re: Basic SSL Certificate Usage logging > > On 10/02/2023 15:42, jonmcalexan...@wellsfargo.com.INVALID wrote: > > Once again, Awesome Possum! You guys are the greatest!

RE: Basic SSL Certificate Usage logging

2023-02-15 Thread jonmcalexander
3 2:17 PM > To: users@tomcat.apache.org > Subject: Re: Basic SSL Certificate Usage logging > > On 10/02/2023 15:42, jonmcalexan...@wellsfargo.com.INVALID wrote: > > Once again, Awesome Possum! You guys are the greatest! > > How about this? (uses the simple toString() approach)

Re: Basic SSL Certificate Usage logging

2023-02-15 Thread Mark Thomas
On 10/02/2023 15:42, jonmcalexan...@wellsfargo.com.INVALID wrote: Once again, Awesome Possum! You guys are the greatest! How about this? (uses the simple toString() approach) https://people.apache.org/~markt/dev/cert-log-example.txt Enabled with: org.apache.tomcat.util.net.NioEndpoint.certif

RE: Basic SSL Certificate Usage logging

2023-02-10 Thread jonmcalexander
t; To: users@tomcat.apache.org > Subject: Re: Basic SSL Certificate Usage logging > > On 09/02/2023 19:49, Christopher Schultz wrote: > > Jon, > > > > On 2/9/23 11:39, jonmcalexan...@wellsfargo.com.INVALID wrote: > >> My thinking is that the teams requesting

Re: Basic SSL Certificate Usage logging

2023-02-10 Thread Mark Thomas
is required to have a dedicated logger for it, as well as keeping the current message in the current logging? It shouldn't be that much work, but it is a lot of output. +1 Mark, isn't this already a dedicated logger? org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Unf

Re: Basic SSL Certificate Usage logging

2023-02-09 Thread Christopher Schultz
well as keeping the current message in the current logging? It shouldn't be that much work, but it is a lot of output. Mark, isn't this already a dedicated logger? org.apache.tomcat.util.net.AbstractEndpoint.logCertificate +1 to using the log-level as the arbiter for, well, how much

RE: Basic SSL Certificate Usage logging

2023-02-09 Thread jonmcalexander
logging? Thanks again for everything! Dream * Excel * Explore * Inspire Jon McAlexander Senior Infrastructure Engineer Asst. Vice President He/His Middleware Product Engineering Enterprise CIO | EAS | Middleware | Infrastructure Solutions 8080 Cobblestone Rd | Urbandale, IA 50322 MAC: F4469-010 Tel

Re: Basic SSL Certificate Usage logging

2023-02-09 Thread Mark Thomas
providing too much detail in the default logs. Everything below feels like too much detail. One option would be to switch this message to a dedicated logger and then provide more/all details if debug logging is enabled. Moving this to a dedicated logger would allow debug logging to be enabled for

RE: Basic SSL Certificate Usage logging

2023-02-08 Thread jonmcalexander
gt; Subject: Re: Basic SSL Certificate Usage logging > > On 08/02/2023 16:24, jonmcalexan...@wellsfargo.com.INVALID wrote: > > Hi Mark, > > > > So, is this something that can/will be added in the future? I tested my > thought of setting the java logging.properties to a specifi

RE: Basic SSL Certificate Usage logging

2023-02-08 Thread jonmcalexander
gt; Subject: Re: Basic SSL Certificate Usage logging > > On 08/02/2023 16:24, jonmcalexan...@wellsfargo.com.INVALID wrote: > > Hi Mark, > > > > So, is this something that can/will be added in the future? I tested my > thought of setting the java logging.properties to a specifi

RE: Basic SSL Certificate Usage logging

2023-02-08 Thread jonmcalexander
rg > Subject: Re: Basic SSL Certificate Usage logging > > On 08/02/2023 16:24, jonmcalexan...@wellsfargo.com.INVALID wrote: > > Hi Mark, > > > > So, is this something that can/will be added in the future? I tested my > thought of setting the java logging.properties to a

Re: Basic SSL Certificate Usage logging

2023-02-08 Thread Mark Thomas
users@tomcat.apache.org Subject: Re: Basic SSL Certificate Usage logging On 10/01/2023 13:52, Christopher Schultz wrote: Jon, On 1/9/23 18:17, jonmcalexan...@wellsfargo.com.INVALID wrote: Yes Chris, It's just for during startup. For a particular instance I would like to capture the Certificate Info and

RE: Basic SSL Certificate Usage logging

2023-02-08 Thread jonmcalexander
l and delete this message. Thank you for your cooperation. > -Original Message- > From: Mark Thomas > Sent: Tuesday, January 10, 2023 8:23 AM > To: users@tomcat.apache.org > Subject: Re: Basic SSL Certificate Usage logging > > On 10/01/2023 13:52, Christopher Schultz

RE: Basic SSL Certificate Usage logging

2023-01-10 Thread jonmcalexander
: Tuesday, January 10, 2023 4:27 PM > To: users@tomcat.apache.org > Subject: Re: Basic SSL Certificate Usage logging > > Jon, > > On 1/10/23 13:37, jonmcalexan...@wellsfargo.com.INVALID wrote: > > Ultimately it would be nice to be able to log it in Jason format for > > in

Re: Basic SSL Certificate Usage logging

2023-01-10 Thread Christopher Schultz
pe\":\"RSA\", ... }" } Isn't this what logstash is for? -chris -Original Message- From: Christopher Schultz Sent: Tuesday, January 10, 2023 7:52 AM To: users@tomcat.apache.org Subject: Re: Basic SSL Certificate Usage logging Jon, On 1/9/23 18:17, jonmcalexan...@

RE: Basic SSL Certificate Usage logging

2023-01-10 Thread jonmcalexander
; From: Christopher Schultz > Sent: Tuesday, January 10, 2023 7:52 AM > To: users@tomcat.apache.org > Subject: Re: Basic SSL Certificate Usage logging > > Jon, > > On 1/9/23 18:17, jonmcalexan...@wellsfargo.com.INVALID wrote: > > Yes Chris, It's just for during startup. For

RE: Basic SSL Certificate Usage logging

2023-01-10 Thread jonmcalexander
t.apache.org > Subject: Re: Basic SSL Certificate Usage logging > > On 10/01/2023 13:52, Christopher Schultz wrote: > > Jon, > > > > On 1/9/23 18:17, jonmcalexan...@wellsfargo.com.INVALID wrote: > >> Yes Chris, It's just for during startup. For a particular insta

Re: Basic SSL Certificate Usage logging

2023-01-10 Thread Christopher Schultz
January 9, 2023 8:10 AM To: users@tomcat.apache.org Subject: Re: Basic SSL Certificate Usage logging Jon, On 1/6/23 15:53, jonmcalexan...@wellsfargo.com.INVALID wrote: Thanks for the info. In a nutshell I think the certpath,provider would be sufficient. I'm thinking that I can add this to the

Re: Basic SSL Certificate Usage logging

2023-01-10 Thread Mark Thomas
onday, January 9, 2023 8:10 AM To: users@tomcat.apache.org Subject: Re: Basic SSL Certificate Usage logging Jon, On 1/6/23 15:53, jonmcalexan...@wellsfargo.com.INVALID wrote: Thanks for the info. In a nutshell I think the certpath,provider would be sufficient. I'm thinking that I can add t

Re: Basic SSL Certificate Usage logging

2023-01-10 Thread Christopher Schultz
e.org Subject: Re: Basic SSL Certificate Usage logging Jon, On 1/6/23 15:53, jonmcalexan...@wellsfargo.com.INVALID wrote: Thanks for the info. In a nutshell I think the certpath,provider would be sufficient. I'm thinking that I can add this to the java options as -Djava.security.debug=ss

RE: Basic SSL Certificate Usage logging

2023-01-09 Thread jonmcalexander
ssage. Thank you for your cooperation. > -Original Message- > From: Christopher Schultz > Sent: Monday, January 9, 2023 8:10 AM > To: users@tomcat.apache.org > Subject: Re: Basic SSL Certificate Usage logging > > Jon, > > On 1/6/23 15:53, jonmcalexan...@wellsfar

Re: Basic SSL Certificate Usage logging

2023-01-09 Thread Christopher Schultz
cify where to log the information. java.security.debug is really a blunt instrument. It's unfortunate that it's one of the only ways to get information out of the TLS stack. It would have been great if Java had started using its own logging system once it was introduced, but no.

RE: Basic SSL Certificate Usage logging

2023-01-06 Thread jonmcalexander
e in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. > -Original Message- > From: Christopher Schultz > Sent: Friday, January 6, 2023 2:41 PM > To: users@tomcat.apache.org > Subject: Re: Basic SSL

Re: Basic SSL Certificate Usage logging

2023-01-06 Thread Christopher Schultz
quest attribute with some kind of identifier (fpr? serial-number?) in it and indicates at least which server-cert was chosen. Then it can trivially be added to e.g. access_log or even to application code which wants to do custom logging. -chris On 06/01/2023 18:52, jonmca

Re: Basic SSL Certificate Usage logging

2023-01-06 Thread Mark Thomas
wrote: Good afternoon and Happy New Year, I know about the SSL debug logging, however, I'm checking to see if there is any out-of-the-box option to capture in a log which SSL certificate and trust keystore is being used during startup? Thanks, Dream * Excel * Explore * Inspire Jon McAlexan

Basic SSL Certificate Usage logging

2023-01-06 Thread jonmcalexander
Good afternoon and Happy New Year, I know about the SSL debug logging, however, I'm checking to see if there is any out-of-the-box option to capture in a log which SSL certificate and trust keystore is being used during startup? Thanks, Dream * Excel * Explore * Inspire Jon McAlexander S

Re: [External] Re: SSL Handshake Failure - Logging Level

2022-06-10 Thread Mark Thomas
Agree, in this case, we could change the Tomcat logging configuration and get this log. Thanks, Amit -Original Message- From: Mark Thomas Sent: Saturday, June 4, 2022 6:13 AM To: users@tomcat.apache.org Subject: Re: [External] Re: SSL Handshake Failure - Logging Level On 03/06/2022 2

Re: tomcat logging

2022-06-09 Thread tomcat-lists
Hi Alan, On 09.06.22 12:56, Alan F wrote: > Tomcat logging > > I would like to add a delimiter or characters " " around {user-agent} for > logging, I wanted it in double quotes for example "Mozilla 5.0.." but can't > seem to make it work. Or even

tomcat logging

2022-06-09 Thread Alan F
Tomcat logging I would like to add a delimiter or characters " " around {user-agent} for logging, I wanted it in double quotes for example "Mozilla 5.0.." but can't seem to make it work. Or even adding a # symbol before woul

RE: [External] Re: SSL Handshake Failure - Logging Level

2022-06-06 Thread Amit Pande
I mean this log is helpful troubleshooting issues in production systems. We can't have Tomcat log level set to DEBUG in this case. And debugging on local/development environments. Agree, in this case, we could change the Tomcat logging configuration and get this log. Thanks, Amit -Ori

Re: [External] Re: SSL Handshake Failure - Logging Level

2022-06-04 Thread Mark Thomas
debugging / troubleshooting they why not just enable debug logging when needed? Why does this need to be separately configurable? Mark Thinking if this could be a connector level attribute or attribute at SSL host config level in "server.xml". Thanks, Amit -Original Message

RE: [External] Re: SSL Handshake Failure - Logging Level

2022-06-03 Thread Amit Pande
at SSL host config level in "server.xml". Thanks, Amit -Original Message- From: Mark Thomas Sent: Friday, June 3, 2022 12:24 PM To: users@tomcat.apache.org Subject: [External] Re: SSL Handshake Failure - Logging Level On 03/06/2022 15:33, Amit Pande wrote: > Hello, >

Re: SSL Handshake Failure - Logging Level

2022-06-03 Thread Mark Thomas
x); } Are there any issues logging this at error level? Yes. We generally don't log user triggerable exceptions above debug level as that can expose the server to a potential DoS - either by filling the disk with log messages or the performance impact of triggering the exceptions. I gues

SSL Handshake Failure - Logging Level

2022-06-03 Thread Amit Pande
ERROR level instead of current DEBUG level. https://github.com/apache/tomcat/blob/main/java/org/apache/tomcat/util/net/Nio2Endpoint.java if (log.isDebugEnabled()) { log.debug(sm.getString("endpoint.err.handshake"), x); } Are there any issues logging this at e

Re: Logging "location" header from the HTTP response

2022-05-26 Thread Robert Hicks
On Thu, May 26, 2022 at 11:37 AM Konstantin Kolinko wrote: > чт, 26 мая 2022 г. в 18:19, Robert Hicks : > > > > We would like to start logging the response location in Tomcat. I am not > > sure where to look something like that up. > > You are not mentioning the ver

Re: Logging "location" header from the HTTP response

2022-05-26 Thread Konstantin Kolinko
чт, 26 мая 2022 г. в 18:19, Robert Hicks : > > We would like to start logging the response location in Tomcat. I am not > sure where to look something like that up. You are not mentioning the version number, but from other threads I assume that it is 9.0.x. Here: https://tomcat.apache.o

Logging "location" header from the HTTP response

2022-05-26 Thread Robert Hicks
We would like to start logging the response location in Tomcat. I am not sure where to look something like that up. Thanks, Bob

AW: How do I disable JNDI logging

2021-10-19 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, it looks more related to spring framework and loglevel. All logs are produced by spring classes. The loglevel is set to DEBUG. The loglevel is set by a configuration file (e.g. log4j.xml, logging.properties or something else). Maybe you can check which logging framework you are using and

How do I disable JNDI logging

2021-10-19 Thread Salomon Mateo
Hello, I hope that someone here can shine some light. Recently upgraded to tomcat 8.5.72, and now in catalina.out I see a whole bunch of these. My apps don't seem to be affected, but would like to address/fix this. Thank you! Sal 11:48:55.621 [localhost-startStop-1] DEBUG org.springframework.jnd

Re: Improve logging in org.apache.catalina.filters.RestCsrfPreventionFilter ?

2021-09-19 Thread Polina Georgieva
refer to [1]. > > > > > > > > If you agree with these ideas, I’ll be happy to propose a patch? > > This sounds like a great idea. The RestCsrfPreventionListener and its > superclass CsrfPreventionListenerBase both have access to a log object > via the getLogge

Re: Improve logging in org.apache.catalina.filters.RestCsrfPreventionFilter ?

2021-08-27 Thread Christopher Schultz
: 1. Add logging for whatever situation you'd like to log 2. Configure a logger to direct the output of the CSRF failures wherever you'd like So I think you don't need to worry too much about the logging *mechanism* but instead simply add calls to the existing logger. I was s

RE: Improve logging in org.apache.catalina.filters.RestCsrfPreventionFilter ?

2021-08-27 Thread Jalaj Asher
That will be a great enhancement to have. Regards Jalaj P Asher -Original Message- From: Polina Georgieva Sent: Thursday, August 26, 2021 10:49 AM To: Tomcat Users List Subject: Improve logging in org.apache.catalina.filters.RestCsrfPreventionFilter ? [You don't often get email

Improve logging in org.apache.catalina.filters.RestCsrfPreventionFilter ?

2021-08-26 Thread Polina Georgieva
Hello, Currently the RestCsrfPreventionFilter is responding with 403 response when the csrf token sent in the request is different from the one stored in the session. However except the 403 response code visible in the http access log file, there’s no indication what happened and why is the err

RE: Log4j2 logging with Tomcat 9 web app

2021-07-21 Thread Berneburg, Cris J. - US
tion log > are coming on > console instead of redirecting this to tomcat.log file. So > 1.tomcat.log is not geting generated > 2. all the contents are logging and showing on the application console > instead of getting this > logged inside the tomcat.log file. > Tomcat 9.0.

Re: Log4j2 logging with Tomcat 9 web app

2021-07-21 Thread Ravi Kumar
Hey Mark, Thanks for the link. But this doesn't help me resolve the issue with my Tomcaat9- log4j2 web-based application. Request you to provide any more info from log4j2.x-tomcat 9 level logging. Regards, Ravi On Wed, Jul 21, 2021 at 2:15 PM Mark Thomas wrote: > On 20/07/2021 21:

Re: Log4j2 logging with Tomcat 9 web app

2021-07-21 Thread Mark Thomas
application log are coming on console instead of redirecting this to tomcat.log file. so 1.tomcat.log is not geting  generated 2. all the contents are logging and showing on the application console instead of getting this logged inside the tomcat.log file. Tomcat 9.0.45 + log4j 2.14.1 is

Log4j2 logging with Tomcat 9 web app

2021-07-20 Thread Ravi Kumar
of redirecting this to tomcat.log file. so 1.tomcat.log is not geting generated 2. all the contents are logging and showing on the application console instead of getting this logged inside the tomcat.log file. Tomcat 9.0.45 + log4j 2.14.1 is used. I am also attaching my log4j property file

Re: Using log4j for logging

2021-06-29 Thread Mark Thomas
ons/869945/how-to-send-java-util-logging-to-log4j I'd recommend the answer from Emmanuel Bourg. If you are using log4j2 then you can use: https://logging.apache.org/log4j/2.x/log4j-jpl/index.html Mark - To unsubscribe

Re: Using log4j for logging

2021-06-29 Thread Niranjan Rao
ay to configure tomcat logs using log4j. log4j was declared end of life in 2015. If you really need to use log4j then there are some pointers here: https://stackoverflow.com/questions/869945/how-to-send-java-util-logging-to-log4j I'd recommend the answer from Emmanuel Bourg. If you

Re: Using log4j for logging

2021-06-29 Thread Mark Thomas
life in 2015. If you really need to use log4j then there are some pointers here: https://stackoverflow.com/questions/869945/how-to-send-java-util-logging-to-log4j I'd recommend the answer from Emmanuel Bourg. If you are using log4j2 then you can use: https://logging.apache.org/log4j/2.x/

  1   2   3   4   5   6   7   8   9   10   >