Rate this post

Last Updated on August 22, 2022 by Vikash Ekka

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.

By Vikash Ekka

Hi All, My name is Vikash Ekka from India. I’m the founder and tech editor of https://www.vetechno.in. I have completed my Graduation in BCA. I love to write technical articles like Windows, Linux & MAC Tutorials, Tips, Tricks, How To fix, Tutorials About Ethical Hacking & Cyber Security Guide, and Software Review. Currently, I have been working as an IT professional since 2018.

Leave a Reply

Your email address will not be published. Required fields are marked *