All Questions
692
questions
0
votes
1
answer
34
views
Catalina.out logs time out of order
I have an Spring boot application running in tomcat 9.0.71. I have one custom Spring boot filer written, in which I have logged method's start and end log. I am not able to understand why the start-...
0
votes
0
answers
28
views
Access tomcat logs via browser
Good morning,
We have some machines with Apache + Tomcat offering web applications.
We want to give access the developers to view the tomcat logs, but we dont want they cant access the machine (ssh), ...
0
votes
1
answer
67
views
How to configure Tomcat Catalina's to use custom Log logger?
I'm trying to learn more about the Spring Framework (without using SpringBoot) and currently i already have a basic RestController setup with embedded Tomcat server (version 10).
Everything works fine ...
0
votes
0
answers
12
views
Spring Application context logs are not printed in Spring WebApplicationInitializer was project in RHEL 8
Spring Application and other java logs are not printed in Spring WebApplicationInitializer WAR project in RHEL 8.
I'm using default logging.properties config. This is happening after upgrading log4j2 ...
0
votes
0
answers
47
views
Apache Tomcat 500 error with no trace of error in logs
We're doing some load testing using jmeter against our software that runs in Tomcat. We've discovered that above a certain threshold, we start to see random HTTP 500 errors come back with the message &...
0
votes
0
answers
19
views
detect catalina.out log path from a running tomcat on non-Windows
I'm dealing with the following non-Windows OS types:
Oracle Linux
RedHat Linux
Ubuntu
Solaris Sparc
Given, the fact that if Tomcat process is running, what is the best solution to find out the ...
0
votes
1
answer
41
views
Is there a convenient way to have different logging for dev vs prod in tomcat?
I want my tomcat web app to use one logging configuration file during development, but a different logging configuration file for deployment.
Is there any way to accomplish this? If I put a logging....
1
vote
0
answers
230
views
Tomcat 10 not seeing log providers
i have tomcat 10 to deploy my web app - spring (no boot) application, i'm deploying it using intellij idea and tomcat 10.1.18, now what i'm seeing in server logs:
SLF4J(W): No SLF4J providers were ...
0
votes
0
answers
61
views
How to Filter a catalina.out to show only INFO logs
i'm doing a config at logging.properties but the logs still shows the debug not only INFO.
Here's my config :
handlers = 1catalina.org.apache.juli.FileHandler, 2localhost.org.apache.juli.FileHandler, ...
0
votes
1
answer
54
views
How to set a property of a customer handler of `logging.properties`
On trying to have a custom handler for Tomcat (using java.util.logging), I could not find a way to have a custom property added.
E.g. how to set a value of abc property of the handler?
# logging....
0
votes
1
answer
62
views
How to save all logs printed by System.out.println to ta file in Tomcat 9
I have some windows product, which comes as .exe file. When I run it, it has tomcat 9 server with some webapp inside and it runs the tomcat via startup.bat in the background. Running startup.bat in ...
0
votes
0
answers
38
views
DEBUG_FRAME log messages in catalina.out after starting tomcat
I am using axis2 version 1.8.2 for web services and tomcat server. After starting tomcat, my catalina.out is getting flooded with DEBUG_FRAME log messages even though logj2.xml is set for info. This ...
0
votes
0
answers
23
views
Tomcat LogFactory, print an ERROR when upgrading spring version and java version
I'm upgrading from spring 2.7 to spring 3.0.9 (also using JDK17)
when running the SERVER, I got this ERROR, but the Application still works.
INFO: Illegal access: this web application instance has ...
1
vote
0
answers
310
views
How to get war file to run with logback and TomEE 9.1.0
I'm updating TomEE to 8.0.14 to TomEE 9.1.0.
The war file uses logback as log system which worked fine with TomEE 8.0.14.
Now I get the war file to run but the logging is not working anymore in the ...
0
votes
0
answers
15
views
localhost_access log tomcat which time rotate
I want to rotate tomcat localhost_access file.So,i added server.xml in maxDays=90
and log file removed every day.But,over 93 log file retained in server.
eg.
Today is 2023/08/07
I added maxDays=90 in ...