目录

How do I query system logs related to transient tasks, continuous tasks, deferred tasks, and agent-powered reminders in background tasks?

The following uses a transient task as an example. You can use the keyword C01711/TRANSIENT_TASK in the log to query the status of a transient task, including the request status, remaining time, and cancellation status.

Add more log flags to background tasks:

  • Transient task: TRANSIENT_TASK
  • Continuous task: CONTINUOUS_TASK
  • Deferred task: WORK_SCHEDULER
  • Agent-powered reminder: ANS_REMINDER