Log file Location change

Hi, I dont have Orchestrator, How to change Log file location… And I want to mention the Log file location in config file… please help me on this.

Thanks

Hi

The default log file path for Studio is %localappdata%\UiPath\Logs<shortdate>_Studio. log .

For more details would recommend to have a view on this thread with similar discussion

Cheers @MEGHA_cs

HI,

Please check the following official document - NLog target section.

https://docs.uipath.com/robot/standalone/2022.10/user-guide/robot-logs

Regards,

Hi @MEGHA_cs ,

If you want to write custom logs for your process and store it in any location, refer the following custom activity from market place:

Regards,

am not finding the file.

1 Like

Thanks,
I dont have OC, how to change location locally

Logs folder is the one u r looking for

Other way of reaching that folder is from studio
Open studio and open any project
In debug tab you can find an option called OPEN LOGS
It will take u to the logs folder

@MEGHA_cs

Thanks,

Logs folder I am getting… I want to change the location of that log file …
it will be in C:\Users\Megha Shirahatti\AppData\Local\UiPath\Logs.

But I want to change the location of this log file…

1 Like

Hi,

Can you try to modify value of WorkflowLoggingDirectory in your NLog.config
It exists in C:\Program Files\UiPath\Studio or C:\Users\[username]\AppData\Local\Programs\UiPath\Studio

And probably it’s necessary to restart service (or reboot your PC)

Please note that it’s necessary admin right to modify this file if its under c:\Program Files

Regards,

This thread has that detailed steps
Would recommend to have a view on it

Cheers @MEGHA_cs

Hi @MEGHA_cs ,

Check out the following video by @RAKESH_KUMAR_BEHERA , it explains how to change the default log path:

Regards,

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.