AddLogField Vs Log Message

Hi,

I am somewhat new to UiPath. Can somebody explain me when to use when to use AddLogField Vs Log Message? If both types of messages are getting copied to Orchestrator, where I can view those and can I copy messages generated by both activities in to Elasticsearch?

I tried following thread but seems like little complicated for me.

Thanks,
Asiri

Hey @Asiri,

Add Log Fields -Adds custom log fields to the [Robot Execution Logs]

Log Message- Writes the specified diagnostic message at the specified level. These messages are also sent to Orchestrator and displayed in the Logs page.

1 Like

Hi @Asiri

Those log fields appear as raw messages in the orchestrator logs.

I have shown the sample screenshot below.

Add the fields whatever you want to specify logs. Go to the orchestrator logs and select Log Message activity’s log and click view details.

3 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.