Here's my setup:
I have an applet that needs to send logging output to the java console. I have the applet jar and the log4j-1.2.8.jar on a Tomcat server and the reference to the log4j-1.2.8.jar is in the applet jar manifest.mf.
I need to be able to configure the logging via a log4j.properties file. Where do I keep this file, so that it will be picked up by the log4j automatically?
See below for my properties file, in case it has errors.
# A1 is set to be a ConsoleAppender which outputs to System.out.
# A1 uses PatternLayout.