I have deployed my code into my local tomcat.. there log4j2 logs are appended to the file I have mentioned in the Rollingfileappender. But when I deploy this code in tomcat in unix server applications logs are added into catalina.out. The file gets created but app logs are not added there.. Can't get the root cause. Please help.