robot
2024.10
true
- 入门指南
- 了解 UiPath Robot
- UiPath Assistant
- 安装要求
- Installing robots for unattended automations
- Configuring robots for unattended automations
- Deploying unattended automations
- Connecting robots for unattended automations to Orchestrator
- Setting up Windows Server for High-Density Robots
- 通过代理服务器重定向机器人
- Implementing authentication
- Adjusting registry settings for execution in minimized RDP windows
- Using network locations
- 设置 Linux 机器人
- 配置包签名验证
- 设置包文件夹和网络路径
- 配置活动订阅源
- Installing robots for attended automations
- Configuring robots for attended automations
- 集成
- 故障排除
Robot admin guide
上次更新日期 2024年12月18日
Log storage
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.
重要提示:
The Robot update overwrites and resets this file, removing any prior edits.
Additionally, log storage can be configured by editing the
NLog.config
file. Diagnostic logs are collected by the Internal type logger and are forwarded by using NLog targets. By default, execution logs are stored 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, as specified by the following parameters in the NLog.config
file:
<?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>
Robot logs are stored differently, based on the user running the automation, which can be the local user (for User Mode robots), or the Local System user (for Service Mode robots):
Log type |
Storage for Service Mode robots |
Storage for User Mode robots |
---|---|---|
Execution logs in
.log format
|
|
|
Execution logs in LiteDB format |
|
|
Diagnostic (or internal) logs |
|
|
更新日志 |
|
|