Hi,
Today I found out the log4j.properties file my program was using was the one in the same directory as the jar file of the program. And I was hoping to use the log4j.properties file contained in the jar file.
When I jar my application I use:
jar cfm myapp.jar Manifest.txt nl log4j.properties HelpWindow.html images\*.PNG
When I start the program I use
java -Dlog4j.configuration=file:log4j.properties -jar myapp.jar
And with this command I use the external properties file.
So what command do I need to use to use the internal properties file?
Abel