RE: Logging from an applet - loading configuration problem

2003-10-15 Thread Ken . Liu
Daniel - The log4j config file is loaded in a static initializer, so initialization will occur in the first instance of a class that calls LogManager (indirectly). This usually happens when you create an instance of a Logger, which most people do in a static initializer (i.e. "static final LOGGER

RE: Logging from an applet - loading configuration problem

2003-10-14 Thread Scott Deboy
If you're using jdk1.4, use something like this in the java plugin's runtime parameters (where {DIRECTORY} is where your jar and config file lives): -Xbootclasspath/p:{DIRECTORY};{DIRECTORY}\log4j.jar -Dlog4j.configuration=log4j.xml -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAI