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…

\\someserver\somefolder\logs\${specialfolder:folder=UserName}

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

@postwick

Check below for your reference

Hope this may help you

Thanks

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…