Add Transaction logs

Hi,
Where do the fields get added with “add transaction logs”? there is one add log message activity? do they get added to it?

Thank you,

Hi @A_Learner

The fields get appended to the logs automatically generated by the ReFramework for transactions.
These fields do not directly appear in the Add Log Message activity.
The fields you add with Add Transaction Log Fields are transaction-specific and not tied to the Add Log Message activity directly.

@A_Learner,

It’s Add Log Fields activity you are talking about and it’s for adding extra fields/data with every Log Message activity.

For Example:
This is log message with default fields:

19:21:52.5040 Info {"message":"This is log message with default log fields","level":"Information","logType":"User","timeStamp":"2024-12-15T19:21:52.5031402+05:30","fingerprint":"0074599b-5b83-4234-afe5-958321a9eb15","windowsIdentity":"ASHOKK\\ak","machineName":"ASHOK","fileName":"Main","jobId":"018b57a9-86f5-463c-9818-ff488e18cccb","robotName":"ashoks@gmail.com-attended","machineId":14295,"processName":"BlankProcess7","processVersion":"1.0.0","organizationUnitId":144217,"businessOperationId":"f0560a9309cb4f7b816761e4980dbf40-e73ed99db6914924a94898e890355b2a"}

This is with additional Fields:

19:21:52.5529 Info {"message":"This is log message with additional log fields","level":"Information","logType":"User","timeStamp":"2024-12-15T19:21:52.5521476+05:30","fingerprint":"d68e51f0-91f7-4769-84ca-9dfb0c7c49c4","windowsIdentity":"ASK\\ashok","machineName":"ASK","fileName":"Main","jobId":"018b32a9-86f5-463c-9818-ff488e18cccb","robotName":"karaleashoks@gmail.com-attended","machineId":14295,"processName":"BlankProcess7","processVersion":"1.0.0","organizationUnitId":144217,"businessOperationId":"f0505a9309cb4f7b816761e4980dbf40-e73ed99db6914924a94898e890355b2a","Log Field One":"This is field one","Log Field Two":"This is field two"}

Observe the fields added at the end.
"Log Field One":"This is field one","Log Field Two":"This is field two"

This is the use of Add Log Fields. It allows us to log additional information along with every log message.

When Deployed on Orchestrator here is how it looks like:

  1. With default fields

  2. With Additional fields

1 Like

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