apps
latest
false
Wichtig :
Bitte beachten Sie, dass dieser Inhalt teilweise mithilfe von maschineller Übersetzung lokalisiert wurde. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.
UiPath logo, featuring letters U and I in white

Apps-Benutzerhandbuch

Letzte Aktualisierung 24. März 2025

Rule: Log Message

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

Excessively printing logs in the browser console can degrade performance.

Meldung

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

Protokollebene

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.

War diese Seite hilfreich?

Hilfe erhalten
RPA lernen – Automatisierungskurse
UiPath Community-Forum
Uipath Logo White