duplicate log-lines

1 message Options
Embed this post
Permalink
dvh

duplicate log-lines

Reply Threaded More More options
Print post
Permalink
hi folks,
i came across some bug?/feature? :
with a plain <logger name="*" minlevel="Debug" writeTo="file" />  
and a plain  ...  fileName="${basedir}/${shortdate}/Nlog.txt"  ...
everything is as expected.

However, when i change the location to

  ...  fileName="${basedir}/../${shortdate}/Nlog.txt"  ...

with /.. / to move one folder-level up, i have duplicate log-messages.
the log-file is in the expected 'higher' folder, that is, /../ works as expected.
of course, i can easily bypass this by omitting the .. - thing
greetings
dvh