How do I get log4j to pick up a properties file.
I\'m writing a Java desktop app which I want to use log4j. In my main method if have this:
Proper
I have this code in my application today
File log4jfile = new File("./conf/log4j.properties"); PropertyConfigurator.configure(log4jfile.getAbsolutePath());
The relative path is from the working directory of the JVM (where the JVM starts).