A lot depends on your environment. jForum tries to set up the log4j environment using the log4j.xml file in the WEB-INF directory. However, if your web app server uses it to (like
Tomcat), it will "ignore" the setup because it has been initialized at a higher level.
This means that the jforum log4j message will go into your servers general log. If you want to filter them into a different fle, you will probably have to modify the servers main log4j config file (either log4j.xml or log4j.properties).
Hope this helps, configuring log4j is sometimes more of an art than a science....
[originally posted on jforum.net by monroe]