How to Create own Log file using Text Document?

Hello,

I want to create own log file by using text file.
So, what system variable use for get the execution details.

@malam9384,

Create one string variable and assign the log file path.
And then use Append Line activity to add all the logs to above created log file.

Hello Lakshman

Can you send me simple workflow .

Please find the attached workflow.Log_Test.xaml (5.9 KB)

Thanks
But you provide the own message “START**”

I want to get dynamic text which comes from execution.
example:- DeletingfirsttworowsofaDataTable execution started

@malam,

If you want dynamic text then read those logs and store it in a variable pass it to append line activity.

Read logs from output panel or any different location.

From where you are getting logs ?

I have a question
in uipath any system variable are present , which gives the execution logs.

Because i don’t want to write own msg in append line or log file
i want to pass system environment variable.

Hi All,

How we will read system generated execution logs and is it possible to store it in a variable ?

Do you have an unswear?

1 Like

Hi @Klaudia

Welcome to UiPath Community !

Here is an activity called “log Text”. Using this activity you can able to write your own message. you can concatenate your system variables.

Thank you
Balamurugan.S

1 Like

Thank you Balamurugan.S but I want to extract all logs from output panel in one step and write them to txt. Is it possible ?

1 Like

Hi @malam9384,

Try creating Log.xaml and Invoke for Every new Message. PFA xaml for your reference.
Logs_Generation.xaml (6.4 KB) Main.xaml (8.6 KB)

Thanks,
Snehal Kapse.

Hi! Have U found any solution for one-step log saving?

Just found out Orchestrator provides logs for robots.
Sorry for spam