Hi
Can anyone advise on how to enable rotatelogs in particular for tomcat-stdOut.log? We recently migrated our QA environment to 19.2 and I noticed that our tomcat-stdOut.log doesn't seem to be rotated at all. Reason to say the log rotation is not in place because I'm simply not able to to find tomcat-stdOut.log with date suffix.
Appreciate any assistance that can be provided or reference ot any documentation to configure rotatelogs enable.
Thanks
Julie
Discussion posts and replies are publicly visible
Hi Julie,
I assume that your servers are running on Windows OS.
Start the tomcat manually using start-appserver.bat and you may find some error messages which will help you to find the issue.
Make sure that the latest MS Visual C++ Redistributable is installed on the server. If not download and install it on the server and try to start again.
Hi Edwin, What's the solution for Linux box ?
Hi Sunil,
Check whether the Apache's rotatelogs is available or not in the environment. If not, install it using any package manager available in your environment. It is available as a part of apache2-utils.
Hi Edwin, Let me check on that. Thanks for your support.
If already available and if the logs are not rotating, then open the start-appserver.sh and provide the path of the rotatelogs program. Appian will use that to rotate the log files.
Hi Edwin
can you please advise how to check whether not Apache's rotatelogs is available in the environment? unfortunately I'm still stuck on this. thanks Julie
Hello Julie,
Execute the following:
apt-get install apache2-utils
It will install the rotatelogs if it is not installed.