How can i create a customized log where in i can capture the successful passing of each of the elements in the script.And i need to have a log where once i complete a flow chart or batch .
Use Log Message activity to add customized messages in between your activities.
Fine
We got many options to do this
—first is we can save the log message we want in a Excel File among a column
For that create a datatable with build datatable activity with one column named Logs and get the output with a variable of type datatable named dt
—then we can use ADD DATAROW activity for each iteration of element passed with script where pass input as {“your custom message”) in ArrayRow property and in datatable mention as d
—second option is if we can manage the logs in orchestrator then we can use LOG MESSAGE activity with log level as info and mention the input as “your custom message”
So that we can see them in Jobs tab → click three dots option at the right end of the process tab → click on VIEW LOGS → where we can get Info logs alone which will give you the message at different stages and we can even export that as a excel file
-third option is
If we are managing only in studio as a attended bot then we can either use WRITELINE or LOG MESSAGE activity with your custom log message so that it can seem in OUTPUT panel of the studio
Hope this would help you
Cheers @Aaditya
How can I save the “Log Message” logs in the local machine.
Are you using Orchestrator to run your processes ?
If yes then you can find all logs mentioned using Log Message activity and other logs related to process can be find in Orchestrator. And same you can export to Excel also if you want it.
You can find system generated logs only in local machine. If you want these logs then open Uipath Studio and press Ctrl+L or go to Debug page and then click Open Logs.
if i try to open the attached file "The installed version of the studio and Robot do not match ". How can i fix this ?
Thanks palaniyappan. If i use the 3rd option, how can i see the output panel of the studio ?
In the studio at the right or left side we can see a tab called OUTPUT that will display all the values written either in WRITELINE activity or with LOG MESSAGE ACTIVITY
Cheers @Aaditya
Thanks. i could see the output tab on the left bottom of the studio and i could insert the log messages and export after the run.
Great cheers @Aaditya
update uipath studio
please suggest the best way to update. I see an update exe file in my localpath. Should i run it ? or is there any better way to do it without losing any data.
C:\Users\aditya\AppData\Local\UiPath
I have an other question. The output (error, warning, info) logs what we see after the execution, i am able to export it. But, can i make it to auto save the same every time when i run any execution, just like the defaults system and studio logs which gets saved in the local path. Please advise.
Did we refer this one buddy
@Aaditya
@Palaniyappan yes. we did. It is a continuation to it. should i create a new topic for the new question ?
May I know the issue in that pls
Where we got stuck buddy
@Aaditya
The output (error, warning, info) logs what we see after the execution, i am able to export it. But, can i make it to auto save the same every time when i run any execution, just like the defaults system and studio logs which gets saved in the local path. Please advise.
Auto save means we can see them in execution logs
Other than that it won’t get saved automatically unless we do handle it with some activities That is storing to a excel or csv
Cheers @Aaditya
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.