apps
latest
false
UiPath logo, featuring letters U and I in white

Apps User Guide

Rule: Log Message

Use the Log Message rule to print a log to the browser console.
docs image
Warning:

Excessively printing logs in the browser console can degrade performance.

Message

The content of the log message. Use the Expression editor button to configure it.

Log level

You can select three log level options:

  • Info - displays the message in blue, with an info icon. This is the default option.

  • Trace - displays the message in black, with a trace icon.

  • Error - displays the message in red, with an error icon.

When previewing an app, logging is enabled and set to the Info level by default.

When running a deployed app, logging is disabled by default.

Modifying log levels at runtime

You can modify the log level when running an app as follows:

  1. After launching the app, open the developer tools in your browser.

  2. Select Console.

  3. Type the following in the console:

    1. sessionStorage.setItem("apps.runtime.loglevel", "trace") to set the runtime log level to Trace.

      This setting prints all logs to the console.

    2. sessionStorage.setItem("apps.runtime.loglevel", "info") to set the runtime log level to Info.

      This setting prints only Info and Error messages.

Was this page helpful?

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