Is it possible to change the target for the robot execution logs?
According to this documentation the target of the execution log is set to the %localAppData% folder of the users on the machine.
However, we would like to change this to one folder for all of our robot users so that we can easily archive the log files.
In order to achieve this, which part of the nlog.config file do we have to change? And what values do we have to use?
Instead of this:
value=“${specialfolder:folder=LocalApplicationData}/UiPath/Logs”
you can change it to as below(just an example, please note $ sign was only required coz localapplicationdata is variable):
value=“C:/username/UiPath/Logs”
And location of Nlog.config file would be as below:
C:\Program Files (x86)\UiPath\Studio
Thank you for your response, I have managed to change the location of the execution logs to one generic folder. However, I feel this isn’t very useful as the logs of the different robots will just be mixed together in one file. Do you think there is a possibility to make this variable?
Regarding making it separate for diff processes, you can utilize existing variable itself, may be attach process name to the execution log file so all logs with same process can be referred directly?