robot
latest
false
- 入门指南
- 了解 UiPath Robot
- 安装要求
- 为 Unattended 自动化任务安装机器人
- 为 Unattended 自动化配置机器人
- 为 Attended 自动化安装机器人
- 为 Attended 自动化配置机器人
- 集成
- 监管
- 故障排除
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

机器人管理员指南
上次更新日期 2025年9月25日
When the Robot is connected to Orchestrator, only logs matching the level set in Assistant or Orchestrator appear on the Logs page. If Orchestrator is unavailable, logs are stored in a local path -
C:\Windows\System32\config\systemprofile\AppData\Local\UiPath\Logs\execution_log_data
, within the available disk space, until the connection is restored. When the connection is restored, the logs are sent in batches in the order they had been generated.
重要提示:
Robot 更新将覆盖并重置此文件,删除之前的任何编辑内容。
此外,可以通过编辑
NLog.config
文件来配置日志存储。“内部”类型记录器会收集诊断日志,并且系统通过使用 NLog 目标即可转发该类日志。默认情况下,执行日志存储在 %LocalAppData%\UiPath\Logs
文件夹的某个文件中。“WorkflowLogging”记录器会收集执行日志,并且系统通过使用 NLog 目标即可转发该类日志,如下方 NLog.config
文件中的参数所示:
<?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">
<variable name="WorkflowLoggingDirectory" value="${specialfolder:folder=LocalApplicationData}/UiPath/Logs" />
<rules>
<logger name="WorkflowLogging" writeTo="WorkflowLogFiles" final="true" />
</rules>
<targets>
<target type="File" name="WorkflowLogFiles" fileName="${WorkflowLoggingDirectory}/${shortdate}_Execution.log" layout="${time} ${level} ${message}" keepFileOpen="true" openFileCacheTimeout="5" concurrentWrites="true" encoding="utf-8" writeBom="true" />
</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">
<variable name="WorkflowLoggingDirectory" value="${specialfolder:folder=LocalApplicationData}/UiPath/Logs" />
<rules>
<logger name="WorkflowLogging" writeTo="WorkflowLogFiles" final="true" />
</rules>
<targets>
<target type="File" name="WorkflowLogFiles" fileName="${WorkflowLoggingDirectory}/${shortdate}_Execution.log" layout="${time} ${level} ${message}" keepFileOpen="true" openFileCacheTimeout="5" concurrentWrites="true" encoding="utf-8" writeBom="true" />
</targets>
</nlog>
根据运行自动化的用户类型,机器人日志的存储方式不同,这些用户可以是本地用户(适用于用户模式机器人)或本地系统用户(适用于服务模式机器人):
日志类型 |
服务模式机器人的存储 |
用户模式机器人的存储 |
---|---|---|
.log 格式的执行日志
|
|
|
LiteDB 格式的执行日志 |
|
|
诊断(或内部)日志 |
|
|
更新日志 |
|
|