Change location of logs (in nlog.config) to network folder that includes username

So the UiPath log files are filling up our C: drive on our bot host servers. We want the files to go to \\someserver\somefolder\logs\username

Looking in the nlog.config file I see that there’s a ${specialfolder:folder=LocalApplicationData} reference. What I would want is to be able to do something like…


Anyone know if there’s a way to do this?


Check below for your reference

Hope this may help you


That doesn’t help me. It doesn’t answer my question, which is about the ${} variables.

However, I discovered that NLog is not UiPath specific. I found the variables I needed here…