Hi All,
Could you please let me know how can we write suppose log message: log level:Info and message:“sample”.Now i wanted to write this as Info::sample in text(notepad)file
can we write that…If yes please let me know the way
Hi All,
Could you please let me know how can we write suppose log message: log level:Info and message:“sample”.Now i wanted to write this as Info::sample in text(notepad)file
can we write that…If yes please let me know the way
Welcome back to our UiPath community.
First use create file activity to create the new text file.
And then use Append line activity to add data to the file. Here, you need to pass both Log type and message you want to write it.
can you give one scenario how can we pass log type and message which i have given in log message activity.
Sorry this is basic but i am new to uipath
In Append Line activity, we need to pass two parameters - text file path and log type and message.
Below are the examples to pass log type and message.
“LogType::logmessage”
“Info:: Successfully logged into the application”
“Failed:: System Exception occur at Initialization”
Thanks for the reply. i am getting error
Please see below screenshot ,I have mentioned like
Logmessage: Loglevel:info
:Message: “Hello”
and now i wanted to write this in text file like
Info::Hello(i.e the values should come from above log message)
Hi All,
Any help here…i wanted to write in text file like(without hardcoding)
Info::Hello(i.e the values should come from above log message)
Hi All,
Please see above screenshot ,I have mentioned in Log message activity
Loglevel:info
Message: “Hello”
and now i wanted to write this in text file like(Note: I have created one text file and i can use append line to write in text file)But my ask is different here
Info:Hello(i.e the values should come from above log message activity to text file)
Please let me know any thoughts