robot
2024.10
true
Admin Guide
Last updated 2024年10月21日

Log fields

A log entry contains several log fields, each holding a different information about the vent being logged.

默认字段

  • 消息:日志消息。

  • Level - Defines the log level.

  • Timestamp - The exact date and time the logged action was happened.

  • 文件名:正在执行的 .xaml 文件的名称。
  • jobId (*) - The ID of the job running the process.

  • processName (*) - The name of the process that triggered the logging. Requires an active connection to Orchestrator.

  • processVersion (*) - The version number of the process. Requires an active connection to Orchestrator.

  • 窗口身份:执行所记录操作的用户的名称。

  • robotName (*) - The name of the Robot (as defined in Orchestrator).

  • machineName - 机器人计算机的名称。

  • machineId (*) - The id of the robot machine.

  • 组织单位 ID * - Orchestrator 组织的 ID。

(*) These log fields cannot be overridden using the Add Log Fields activity.

用户定义的字段

To define custom fields, use the Add Log Fields activity. These fields appear in all subsequent logs. To remove these fields from further logs, use the Remove Log Fields activity.

重要提示:

Make sure to name your custom log fields different from the default log fields. Otherwise, duplicate names can corrupt the logging process and disrupt the execution of your workflow.

特定于类型的字段

这些日志会按日志类型显示:

For the Execution End default log, the following fields are included:
  • 总执行时间(秒)
  • 总执行时间
For the Transaction Start default log, the following fields are included:
  • 队列名称
  • 交易 ID
  • 交易说明
  • 初始化人员
For the Transaction End default log, the following fields are included:
  • 队列名称
  • 交易 ID
  • 交易说明
  • 交易状态
  • 事务执行时间
  • 处理异常的类型
  • 处理异常的原因
  • 队列项目审核状态
  • 队列项目优先级
For the Debugging Log default log, the following fields are included:
  • activityInfo, which is a JSON message with the following fields:
    • 显示名称
    • “状态”(故障、已关闭、正在执行)
    • 活动
    • 参数

  • 默认字段
  • 用户定义的字段
  • 特定于类型的字段

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。