How to Use NLog to Change the Default Folder

You can use NLog for changing the default folder path to another folder.  This will help you store the log files on a specific folder. Mostly the new users face this issue more. So, make sure you have a clear understanding of the paths in the NLog.

To cange the NLog file location, you need to open Nlog.xml file situated in UiPath folder in Program Files(x86) folder in C drive.

Go to the following:

<variable name=”LogDirectory”

value=”${specialfolder:folder=LocalApplicationData}/UiPath/Logs”/>

This is the track of log file. It is possible that you edit this track according to your own choices. But, use Notepad++.