How to let JWS(Tomcat) running on OCP 4.x writes 'catalina.out' log ?
Issue
- How to record the server log of Tomcat 9 as 'catalina.out' in JWS5 image instead of using 'oc log' ?
- JWS 5 manual guides to use 'oc logs' command to get the tomcat logs. How to record to a file named 'catalina.out'
https://access.redhat.com/documentation/en-us/red_hat_jboss_web_server/5.3/html/red_hat_jboss_web_server_for_openshift/jws_on_openshift_reference#checking_logs
Environment
- Openshift Container Platform
- 4.5
- JBoss Web Server
- 5.3 (Tomcat 9)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.