Export Output Logs in File

Hi,

How to export output logs in any text/other file format using any activity?

By default, there is option to export the logs to text file. But, I want that step to be automated.

Please help.

1 Like

Hi
While creating log message with the activity next to it write that same text or string to a excel or notepad using
—add Datarow activity and then write that’s datatable to excel with write range
Or
We can use write that text to a notepad with write text activity
Cheers @Saikat_Chowdhury

1 Like

Hi @Saikat_Chowdhury,

If you’re talking about robot execution log file, then Press ctrl+l in studio.

I also encounter the same concern. How do I get or where can I find it.
I know if I click the encircled below I can get the information.

I need the exact format of the exported output log as this is easy to understand.

Another thing - Is there a way to show the same logs in orchestrator

2 Likes

I have also same concern ,

insted of click on export logs button , is there any activity that pull all logs into notepad?

end of the process , if we get this log details it will help us to support team and Developer

Did you get any apprach for it

hi,
Option 1 :
You can replace the “Write Line” with “Log Message” and automated exported in robot execution logs.

Option 2 :
You can save in a array the messages and exported in text at the end of your flow.


Can you help me with this how to get generate a output text file with automation
Here i am comparing two json files and observing the differences

is it able to show me a screenshot of the rest flow ? the part of the comparison!

Well,
You can built a datatable for the logs. After each Log Message you can add the follow:

In order to write the table to txt file you can use this:
Comp_Files_EN_W10_SaveDataTableToTabDelimitedFile - Copy.xaml (23.1 KB)

Let me know if you are able to complete the task!

Thanks,
Nikos

Hi @nrok,
Thanks for the help but I am not getting it completely. Can you help me with this file
JSON Comparison.xaml (31.5 KB)

Hi @nrok
Can you help me for this file

Hi @ajindal,

I am not able to open your workflow, but i send you the steps.
Creates logs file.xaml (32.7 KB)

I think it will helps you!

Thanks,
Nikos

Hi @nrok
Thanks for the help but it is not working for my file
I am again sharing it with you may be this time it will open
For checking the output you can put two different json file
JSON comparison.xaml (28.5 KB)

the issue still standing. Can you show me the dependencies of the project ?

I created without the JSON activities. Please add they again and i think will be ok!
JSON comparison.xaml (53.7 KB)

It is not opening all the activities are missing

It’s been ages since this question was post but still not a valid answer to the question. Is there an straightforward way to just output the logs to a file automatically, instead of having to push the “Export Logs” button??

Thanks again.