UiPath Documentation
robot
2026.10
false
Robot 管理ガイド

ログストレージ

ロボット ログのストレージ オプション: ローカル フォールバックを使用する Orchestrator に接続されたストレージ、および NLog.config ファイルを使用した NLog ベースのファイル設定。

Orchestrator のストレージ​

ロボットが Orchestrator に接続されている場合、Assistant または Orchestrator で設定したレベルに一致するログのみが [ログ] ページに表示されます。Orchestrator が利用できない場合は、接続が復元するまで、ログはローカル パス (C:\Windows\System32\config\systemprofile\AppData\Local\UiPath\Logs\execution_log_data) の利用可能なディスク スペース内に保存されます。接続が復元されると、ログは生成された順番に分割して送信されます。

NLog ストレージ​

重要:

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>

Robot のモード別のログの保存​

ロボット ログは、オートメーションを実行するユーザーがローカル ユーザー (ユーザー モードの Robot の場合) であるか、ローカル システム ユーザー (サービス モードの Robot の場合) であるかに応じて異なる方法で保存されます。

.log形式の実行ログ​

  • サービス モード:
    • Windows OS—C:\Users\user\AppData\Local\UiPath\Logs
  • ユーザー モード:
    • Windows OS—%LocalAppData%\UiPath\Logs
    • Linux—~/.local/share/UiPath/Logs

LiteDB 形式の実行ログ​

  • サービス モード:
    • Windows OS—C:\Windows\System32\config\systemprofile\AppData\Local\UiPath\Logs\execution_log_data
  • ユーザー モード:
    • Windows OS—%LocalAppData%\UiPath\Logs\execution_log_data
    • Linux—~/.local/share/UiPath/Logs/execution_log_data

診断 (または内部) ログ​

  • サービス モード:
    • Windows OS—%ProgramData%\UiPath\Logs\internal
  • ユーザー モード:
    • Windows OS—%LocalAppData%\UiPath\Logs\internal
    • Linux—~/.local/share/UiPath/Logs/internal

このページは役に立ちましたか?

接続

ヘルプ リソース サポート(opens in new window)

学習する UiPath アカデミー(opens in new window)

質問する UiPath フォーラム(opens in new window)

最新情報を取得