Comments (7)
docker log container just shows catalina.{yyyy-mm-dd} localhost.{yyyy-mm-dd} but not catalina.out
from tomcat.
Do they get logged to stdout or stderr? If so, they should be in docker logs container-name
.
from tomcat.
I have noticed a similar issue. It appears that the log gets rotated out after a few days and no more output is appended to stdout, I'm not sure what's causing it though it is reproducible on any of our tomcat docker images.
from tomcat.
im also facing the same issue
from tomcat.
I've managed to fix our logging issues by adding the following catalina-logging.properties file to the /usr/local/tomcat/conf/
. I am not a Tomcat guru, so it's likely this can be simplified. Possibly to just:
java.util.logging.ConsoleHandler.rotatable = false
from tomcat.
Same issue here... :-/ I didn't get what is wrong, since the logging configuration seems to be the same as on my machine.
The important change in @icirellik example is moving from AsyncFileHandler
to FileHandler
. This seems to write every log record synchronously. However, I am slightly cautious about this change, sync synchronous logging may cause unnecessary performance hit...
from tomcat.
Given that this appears to be a Tomcat configuration issue (not an issue with the image itself that we could fix), I'm going to close. In the future, these sorts of questions/requests would be more appropriately posted to the Docker Community Forums, the Docker Community Slack, or Stack Overflow. Thanks!
from tomcat.
Related Issues (20)
- Use Tomcat Native 2 HOT 1
- ppc64le/tomcat:latest exits with 132 RHEL HOT 4
- Add support for SAP Machine HOT 2
- package updates with apt not working HOT 2
- Update Vulnerable OpenSSL: 3.0.2->3.0.7 (at least, image “tomcat:8.5-jre11-temurin”) HOT 1
- Where are the OpenJDK images? HOT 1
- tomcat 10.1 with corretto HOT 5
- Create new image 9.0.71-jdk11-openjdk HOT 1
- Docker image tomcat:8-jre8, tomcat version 8.5.85 unable to deploy application, 404 error HOT 1
- tomcat:9.0.70-jdk17-temurin failing to build due to CVE-2023-0286 HOT 1
- Have release the images(jdk8) to fix CVE-2023-0286 HOT 2
- Java19 HOT 3
- Whether any images has been fixed for CVE-2023-24998 HOT 4
- tomcat image for Amazon Linux 2023 ? HOT 2
- Provide Temurin images based on Debian HOT 7
- Javacode fails to read dotted environment variables since 08/09/23 HOT 3
- Server information disclosure with default configuration HOT 3
- Latest Tomcat Version has regressions - so please update to newer fixed version when they become available. HOT 5
- Unrecognized VM option 'UseConcMarkSweepGC' with tomcat:9-jre17 HOT 1
- GraalVM HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tomcat.