UiPath Documentation
robot
2026.10
false
Robot-Administratorhandbuch

Protokollspeicherung

Speicheroptionen für Roboterprotokolle: Mit Orchestrator verbundener Speicher mit lokalem Fallback und NLog-basierte Dateikonfiguration mithilfe der Datei NLog.config.

Orchestrator-Speicher​

Wenn der Roboter mit dem Orchestrator verbunden ist, werden auf der Seite Protokolle nur Protokolle angezeigt, die der im Assistant oder im Orchestrator festgelegten Stufe entsprechen. Wenn Orchestrator nicht verfügbar ist, werden Protokolle in einem lokalen Pfad gespeichert, C:\Windows\System32\config\systemprofile\AppData\Local\UiPath\Logs\execution_log_datainnerhalb des verfügbaren Speicherplatzes, bis die Verbindung wiederhergestellt ist. Wenn die Verbindung wiederhergestellt wird, werden die Protokolle in Batches in der Reihenfolge gesendet, in der sie erzeugt wurden.

NLog-Speicher​

Wichtig:

The Robot update overwrites and resets these files, removing any prior edits.

Additionally, you can configure log storage by editing the NLog configuration files. Both files are in the Robot installation folder: %ProgramFiles%\UiPathPlatform\Robot\<version> for a per-machine installation, or %LocalAppData%\Programs\UiPathPlatform\Robot\<version> for a per-user installation.

  • NLog.config configures the execution logs. By default, the Robot stores execution logs in a file in the %LocalAppData%\UiPath\Logs folder. The messages are collected by the WorkflowLogging logger and can be forwarded by using NLog targets.
  • Robot.NLog.config configures the diagnostic logs, which the Robot writes to Robot.log.

The shipped NLog.config file looks as follows:

<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      autoShutdown="true"
      internalLogLevel="warn">
  <variable name="WorkflowLoggingDirectory" value="${specialfolder:folder=LocalApplicationData}/UiPath/Logs" />
  <rules>
    <logger name="WorkflowLogging" writeTo="asyncFile" final="true" />
  </rules>
  <targets>
    <target type="AsyncWrapper"
            name="asyncFile"
            queueLimit="1000"
            batchSize="100"
            timeToSleepBetweenBatches="0"
            overflowAction="Block">
      <target type="File"
          name="WorkflowLogFiles"
          fileName="${WorkflowLoggingDirectory}/${shortdate}_Execution.log"
          layout="${time} ${level} ${message}"
          keepFileOpen="true"
          maxArchiveFiles="30"
          openFileCacheTimeout="5"
          concurrentWrites="true"
          forceMutexConcurrentWrites="true"
          encoding="utf-8"
          writeBom="true" />
    </target>
  </targets>
</nlog>
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      autoShutdown="true"
      internalLogLevel="warn">
  <variable name="WorkflowLoggingDirectory" value="${specialfolder:folder=LocalApplicationData}/UiPath/Logs" />
  <rules>
    <logger name="WorkflowLogging" writeTo="asyncFile" final="true" />
  </rules>
  <targets>
    <target type="AsyncWrapper"
            name="asyncFile"
            queueLimit="1000"
            batchSize="100"
            timeToSleepBetweenBatches="0"
            overflowAction="Block">
      <target type="File"
          name="WorkflowLogFiles"
          fileName="${WorkflowLoggingDirectory}/${shortdate}_Execution.log"
          layout="${time} ${level} ${message}"
          keepFileOpen="true"
          maxArchiveFiles="30"
          openFileCacheTimeout="5"
          concurrentWrites="true"
          forceMutexConcurrentWrites="true"
          encoding="utf-8"
          writeBom="true" />
    </target>
  </targets>
</nlog>

Protokollspeicher nach Robotermodus​

Roboterprotokolle werden je nach Benutzer, der die Automatisierung ausführt, unterschiedlich gespeichert. Dies kann der lokale Benutzer (bei Robotern im Benutzermodus) oder der lokale Systembenutzer (bei Robotern im Dienstmodus) sein:

Ausführungsprotokolle im .log-Format​

  • Servicemodus:
    • Windows OS—C:\Users\user\AppData\Local\UiPath\Logs
  • Benutzermodus:
    • Windows OS—%LocalAppData%\UiPath\Logs
    • Linux—~/.local/share/UiPath/Logs

Ausführungsprotokolle im LiteDB-Format​

  • Servicemodus:
    • Windows OS—C:\Windows\System32\config\systemprofile\AppData\Local\UiPath\Logs\execution_log_data
  • Benutzermodus:
    • Windows OS—%LocalAppData%\UiPath\Logs\execution_log_data
    • Linux—~/.local/share/UiPath/Logs/execution_log_data

Diagnoseprotokolle (oder interne) Protokolle.​

  • Servicemodus:
    • Windows OS—%ProgramData%\UiPath\Logs\internal
  • Benutzermodus:
    • Windows OS—%LocalAppData%\UiPath\Logs\internal
    • Linux—~/.local/share/UiPath/Logs/internal

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support(opens in new window)

Möchten Sie lernen? UiPath Academy(opens in new window)

Haben Sie Fragen? UiPath-Forum(opens in new window)

Auf dem neuesten Stand bleiben