How Create a Log File, Specific to the Bot Execution

studio
logs

#1

Good Evening Dear Forum Members…!!!

I am new to UiPath & have gone through the Article related to “Hoe to create log file”. But i am not able to understand that.
Kindly let me know the Step-by-step approach for this,
like Each time Bot Runs,

  1. List item

How to create a Log File with TimeStamp.
And is it possible to mention the variables inside of that text file.

Looking forward your continuous Help & Support…
Thanks Again & thanks as always…

Happy Evening & great Day.

-Pavan.


#2

@Pavan_Kodali,

Both UIPATH ROBOT and Studio has default logging process and you can find the logs in .\AppData\Local\UiPath\Logs and by default Log files are created with Time stamp.

You can add information to the logs using the activity - Log message and pass dynamic variable to it.
Even customization of Log message is possible via activities like Add Log Fields and Remove Log fields.

For more info, Go through [https://studio.uipath.com/v2017.1/docs/studio-logs]