This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm using Tomcat 5.5.25 and log4j-1.2.15 on a WinXP system. I think I have my classpath issues resolved because log4j is writing to my log file that is defined in my log4j.xml file. However, it's writing it to $CATALINA_HOME\bin.
I remember when doing log4j in Websphere, we had to put in a kind of file prefix for our log files, something like '../opt/......my.log'. Is there a similar prefix that is needed in Tomcat, to direct it to my webapp directory? Ideally, I'd like it under /webapps/mywebapp/logs.