I am using Log4j in my web app to write the logs to a separate file. Surprisingly, that log file is not at all getting created. I run the logger logic as a standalone application and the log file indeed gets created. I am assuming tomcat is not allowing me to write my logs to a file. It is simply redirecting all the log messages to catalina.out. Any suggestions on how to direct my logs to a separate file and not to catalina.out.
Thanks,