1 year ago
#353675
longer
Tomcat 9 with multiple services and separated catalina.out
I have configured Tomcat server.xml for mutliple services (two). Both applications are developed in SpringBoot and deployed as ROOT, but on different ports. I've configured logging.properties for logging info to separate files for both applications, but initials logs are still written to catalina.out.
Is it possible to split initial apps start logging to different catalina.out files ?
I tried to prepare logging.properties inside apps, and remove conf/logging.properties, but it seems tomcat is not using default conf/logging.properties. For double check I have tried changing catalina.out file name - no luck. Tomcat is running as systemd service.
tomcat
logging
configuration
multiple-instances
catalina.out
0 Answers
Your Answer