How to Show run time Execution Logs in Command Prompt while running the BOT from Batch File

Hi all,

I have prepared the NUPKG Package from the Studio and Prepared a Batch File as well and it is working perfectly fine.
Now, I am trying to show the execution logs in the CMD Screen as the logs which are visible in the Output Panel of the Studio for each activity.
I am not able to able to find any solution for the same.
Please let me know if it is doable or not. If yes, how to achieve?
Thanks in advance.
Regards,
Vishal

@Vishal.Khurana ,

It’s doable. Logs of the execution gets stored at "C:\Users\machineuser\AppData\Local\UiPath\Logs\2024-03-05_Execution.log"

You can get more details from here as well.
Orchestrator - Orchestrator Logs (uipath.com)

Check around this and you will have your solution.

Cheers!

Thanks,
Ashok :slight_smile:

Hi @ashokkarale.

Thanks for your reply.

These logs will be available after Execution.

What I want to achieve here is, I want to show the run time execution logs on the Command Prompt Screen.
Like…
Step 1 Execution Started
Step 2 Reading the Input Files
… last step

I hope my requirement is clear,
Regards,
Vishal

@Vishal.Khurana,

NO! logs available real time in Execution log text file not after the execution.

Studio:

image

Log File:

What you can do is that write a script that will check this file every second or the timeframe you want and get the latest message and put it on command prompt.

You will have to handle to store the previous messages and if no new message then cmd will not be updtaed.

Hope you get the idea.

Thanks,
Ashok :slight_smile: