If you mean the log4j.properties file, you put in the base directory for your code. If you're using an IDE that copies files in your source directories over, then if your mypack.SomeClass class is at C:/Code/mypack/SomeClass.java, then the log4j properties file should be at C:/Code/log4j.properties.
If that doesn't work, try copying it to a similar location only look for SomeClass.class and figure the directory out from there.
If you don't want to put it in the same directory as you code...I, umh, don't know how to do that.
|