I have been trying to get my (smartgwt)application to log using the log4j jar. It works fine in Dev Mode, but when I deploy it to
tomcat the log files denoted by the configuration don't even seem to appear.
The following log4j.properties file is in my war directory for my app:
Just to get it working I have a simple class with static log methods only accessing the rootLogger:
On server side calls I simply have statements such as:
Are there settings within the Tomcat environment to allow application specific use of log4j, or am I simply going about this wrong? I have read in a few places about people saying to put my .properties file into WEB-INF/classes directory, but when my war file is unpacked by Tomcat I don't see that directory.