I've managed to find a solution that works. The info I found has me using
the "log4j-jul" bridge (and excluding spring-boot-starter-logging from
spring-boot-starter-web), which redirects from jul to log4j, which
effectively redirects to logback, which allows me to configure logg
s that it tries to log the exception message (usually a "MultiException" or
something like that). Ideally, I should just be able to configure the logging
for tomcat-embed-core to make it print the exception details. Several times I
have struggled to make this work, and I've never been a
ath,
thus it is preferred over the default one.
There is a logging.properties in my application's webapps/WEB-INF/
classes/logging.properties file but I wouldn't expect that to interfere
with Tomcat's logging.
One option to prevent such behaviour is to reconfigure Tomcat to use the
java.util.loggi
>>>
> >>> This is Tomcat 9.0.98 on Linux with a stock conf/logging.properties file
> >>> (plus my .level=ALL for this filter)
> >>>
> >>> What am I missing?
> >>
> >> 1. It may be that your web application has its own logging.proper
F/
classes/logging.properties file but I wouldn't expect that to interfere
with Tomcat's logging.
One option to prevent such behaviour is to reconfigure Tomcat to use the
java.util.logging.LogManager from JRE instead of its own class.
I will try that if I get de
his filter)
What am I missing?
1. It may be that your web application has its own logging.properties
file in classpath,
thus it is preferred over the default one.
There is a logging.properties in my application's
webapps/WEB-INF/classes/logging.properties file but I wouldn't expect
that to in
o reconfigure Tomcat to use the
java.util.logging.LogManager from JRE instead of its own class.
2.
> org.apache.catalina.filters.CsrfPreventionFilter.handlers =
> java.util.logging.ConsoleHandler
If those are two separate lines, the first one lacks trailing slash,
and results in an em
All,
I really should be able to figure this out for myself but I'm frustrated
and might just need someone to show me that I'm spelling something wrong.
I'm trying to get all logs from the CsrfPReventionFilter. I know it's
working because I get 403 responses when it's enabled and don't get the
Hello,
Using Tomcat 10.1.33.
I have a Spring based web application that uses Java based configuration to
initialize. That is, it has an initialization class that implements
ServletContainerInitializer.
When such a web app is being deployed,
I only see log messages (default INFO logging level
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
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
]
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
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
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
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
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
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
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
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
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
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
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
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
пт, 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
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
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
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
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
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
> 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
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
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
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
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
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 /
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
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
чт, 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
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
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
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
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+
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
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
___
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
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
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
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
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
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
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.
-
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
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
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.
> >>
> >>
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
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
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
>
> 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.
, 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
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!
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)
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
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
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
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
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
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
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
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
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
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
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
: 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
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...@
; 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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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,
>
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
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
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
чт, 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
We would like to start logging the response location in Tomcat. I am not
sure where to look something like that up.
Thanks,
Bob
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
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
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
:
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
1 - 100 of 1619 matches
Mail list logo