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

How to download files and folder from s3 bucket using command line

How to install VLC player on Ubuntu 22.04 LTS Jammy Jellyfish | vetechno