Fixed - Tomcat not generating catalina.out log on Amazon Linux 2 | vetechno

Find the below command to fix Tomcat not generating catalina.out log on Amazon Linux 2

Step1. Create a file in location /etc/rsyslog.d/tomcat.conf

Step2. put below command into the tomcat.conf

programname, contains, "server" /var/log/tomcat/catalina.out
programname, contains, "server" ~

Step3. Now restart the rsyslog service

systemctl restart rsyslog.service


Now check the catalina.out log file 


Let us know if you are still facing an issue in the comment box.

Comments

Popular posts from this blog

Failed to establish the VPN connection. This may be caused by a mismatch in the TLS version.

To make SSL VPN connection work, please turn off IE security configuration | vetechno

How to install Mysql 8.0.29 on Ubuntu 22.04 LTS | vetechno