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

Visual Studio Code Black Screen Windows 7, 8.1 and 10

March Update | Bitdefender Total Security 2022 Activation 180 days free (100% working)

How to install and setup Nord VPN on Ubuntu 20.04 LTS | vetechno