parabellum
asked on
NLog llog to custom directory
Hello,
I have started using NLog logging library.(currently logging to txt file)
<target> has a config like:
fileName="${basedir}/logs/ logfile.tx t"
I want to log to, say D:\logfile.txt
How can i do that ?
This seems simple but i have failed to do it.
Thanks.
I have started using NLog logging library.(currently logging to txt file)
<target> has a config like:
fileName="${basedir}/logs/
I want to log to, say D:\logfile.txt
How can i do that ?
This seems simple but i have failed to do it.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Nevermind i have solved it. There was one extra '$' char that caused problems.
ASKER
Not quite the solution i wanted. But thanks for your time.
ASKER
I want to do it in the NLog config file.