robot
2023.10
false
UiPath logo, featuring letters U and I in white

Robot user guide

Last updated Nov 22, 2025

Logging and Log Levels

During process execution, the Robot generates a message (Log) for each step along the way. These are gathered and stored in a Log File. The overall operation of gathering and storing Logs is called Logging.

Each Log has a Log Level, which refers to how detailed the generated message is.

Logging Levels refer to the type of severity written in the Log File.

Log Levels in UiPath

The log level refers to how detailed the generated message should be. You can configure it via:
  • the Log Level setting in Assistant > Preferences > General page. By default, it is set to Information.
  • the Logging Level setting in Orchestrator > Manage Access > Users > user or robot account > Robot Settings page. By default, it is set to Information.
    Note: The log level you set in Orchestrator overrides the level configured in Assistant.
UiPath uses the following log levels, listed in ascending order of their priority.
  • Off - No logs are stored at all. This level is typically used to turn off logging.
  • Verbose - Reports an even finer level of granularity, logging every possible detail about the automation operations. This could include information about variable changes, function calls, or even external responses. Displays all logs with the Trace level. By default, the Verbose level includes the following log entries:
    • Execution Started - generated every time a process is started.
    • Execution Ended - generated every time a process is finalized.
    • Transaction Started - generated every time a transaction item is obtained by the Robot from Orchestrator.
    • Transaction Ended - generated every time the Robot sets the transaction status to either Success or Failed.
    • Activity Information - generated every time an activity is started, faulted, or finished inside a process.
  • Trace - These logs contain the most detailed information, often used for debugging or tracking specific task execution paths within the system. Displays all logs with the Trace, Information, Warning, Error, and Critical levels.
  • Information - Informational logs provide general insights about the automation execution, such as start and end of tasks. Displays all logs with the Information, Warning, Error, and Critical levels.
  • Warning - These logs include minor issues or potential problems that do not immediately affect the current operation but might become significant in the future. Displays all logs with the Warning, Error, and Critical levels.
  • Error - Logs generated at this level include details of errors that have occurred during execution, which prevent normal workflow operation but do not cause the entire system to halt. Displays all logs with the Error and Critical levels.
  • Critical - Logs that indicate a critical problem or error are recorded. Issues serious enough to require immediate attention are usually logged at this level.

About PII Information in Logs

Information, Warning, Error, and Critical

The values of input/output arguments are not tracked when Information, Warning, Error, and Critical log levels are used. This means no PII information is sent in the Orchestrator logs unless explicitly added from Studio.

Trace and Verbose

Trace and Verbose log levels track and write the values of input/output arguments in Orchestrator logs. If those values include PII information, they are added to the Orchestrator logs.

Using excludeLoggedData to Hide Sensitive Information

The excludedLoggedData variable allows you to add keywords to prevent variable and argument values from being logged at the Verbose level.
That can also be achieved by selecting the Private checkbox of any activity. Read more about the protection of sensitive information here.
"excludedLoggedData": [
      "Private:*",
      "<em>password</em>"
    ],"excludedLoggedData": [
      "Private:*",
      "<em>password</em>"
    ],

Log Types

There are several possible occurrences of log messages, depending on the event that is logged, as follows:

Default

Generated by default when the execution of a process starts and ends, when a system error occurs and the execution stops, or when the logging settings are configured to log the execution of every activity.

Note: These logs have the Default value in the logType field.

The events logged by this category are:

  • Execution Start is generated every time a process is started. This is logged starting with the Information logging level.
  • Execution End is generated every time a process is finalized. This is logged starting with the Information logging level.
  • Transaction Start is generated every time a transaction within a process is started. This is logged starting with the Information logging level.
  • Transaction End is generated every time a transaction within a process is finalized. This is logged starting with the Information logging level.
  • Error Log is generated every time the execution encounters an error and stops. This is logged starting with the Error logging level.
  • Debugging Log is generated if the Robot Logging Setting is set to Verbose and contains activity names, types, variable values, arguments, etc. This is logged starting with the Trace logging level.

User-Defined

Generated according to the process designed by the user in Studio, when using the Log Message activity or the Write Line activity.

Note: These logs have the User value in the logType field.

Log Fields

There are multiple types of log fields that can be found throughout the above log message types. These can be classified as follows:

Default fields

  • Message - The log message.
  • Level - Defines the log severity.
  • Timestamp - The exact date and time the action was performed.
  • FileName - The name of the .xaml file being executed.
  • jobId * - The key of the job running the process.
  • processName * - The name of the process that triggered the logging.
  • processVersion * - The version number of the process.
  • windowsIdentity - The name of the user that performed the action that was logged.
  • robotName * - The name of the Robot (as defined in Orchestrator).
  • machineName - The name of the robot machine.
  • machineId * - The id of the robot machine.
  • organizationUnitId * - The ID of the Orchestrator organization.
* Log fields marked with an asterisk cannot be overridden using the Add Log Fields activity.
Note: The processName and processVersion fields do not appear in logs if the process is run locally, without being connected to Orchestrator.

Type-specific fields

These logs are present depending on the log type.

Execution End
  • totalExecutionTimeInSeconds
  • totalExecutionTime
Transaction Start
  • queueName
  • transactionID
  • transactionState
  • initiatedBy
Transaction End
  • queueName
  • transactionID
  • transactionState
  • transactionStatus
  • transactionExecutionTime
  • processingExceptionType
  • processingExceptionReason
  • queueItemReviewStatus
  • queueItemPriority
Debugging Log
activityInfo, which is a JSON message with the following fields:
  • DisplayName
  • State(Faulted,Closed,Executing)
  • Activity
  • Arguments

    Note: Only totalExecutionTimeInSeconds, totalExecutionTime and queueName are always present in the log messages. Variables and Arguments usually have sub-fields.

User-defined fields

These fields are defined in Studio by using the Add Log Fields activity and appear in all subsequent logs after the activity is generated, unless they are removed by the Remove Log Fields activity.

Important:

When defining Custom Log Fields make sure to also check the naming against the Default Log Fields to avoid conflicting information in the Log Files over the same Log Fields.

Having the same naming convention for both Custom and Default Log Fields can also impact the Process you are running.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2025 UiPath. All rights reserved.