
20 Jan
2015
20 Jan
'15
10:46 a.m.
Hi, I need very simple thing. I need to put any logs from file appender to the file in application directory, where jar is located. (this is Java desktop application). If I define it explicitly it works: <file>C:\logname.log</file> but this does not work <file>logname.log</file> I know I can pass some variable to java interpreter and use it as ${LOGHOME} and then use it like <file>${LOGHOME}/logname.log</file> but it is really needed? Thanks, Martin