"Relative path" means relative to the current working directory. So your question seems to boil down to how do you set the current working directory -- or maybe you just need to know what it is so that you can find the place the logs are written to?
Frankly I'd suggest not relying on the current working directory, unless you have a foolproof method of setting it to a place you want it to be. Use the full path instead.
Relative directory paths are minefields, especially if you have a complex system where possibly more than one thread might set the current directory. And note also, that Windows doesn't have just one current directory - there's one for each drive ID. It's only the "current" current directory - the one on the currently-logged drive that matches the Java concept of such.
One of the useful things about the Unix-like OS's is that there's a specific directory for log files. Windows never defined such, since they expected you'd use the Event Manager.
Anyway, I think there's a problem with the following:
It would probably work better as:
I'm afraid that the command-line parser wouldn't properly interpret where you put your opening quote and it ended up looking for a file named "./resources/log4j.properties. Note that this is the literal name it would expect without me putting quotes around the name string.
"privilege" comes from the Latin words for "private" and "law" (legal) and dates to feudal times. To "claim privilege" meant that you were above the laws that applied to the common people.
You don't like waffles? Well, do you like this tiny ad?
Devious Experiments for a Truly Passive Greenhouse!