Log query

更新时间:
复制 MD 格式

When scheduled tasks fail or behave unexpectedly, you need a way to trace what happened during execution. SchedulerX integrates with Simple Log Service (SLS) to collect and store task execution logs. Use the Log Query page to search execution records by keyword and filter them by application.

Important

Log query is available only for Professional Edition applications.

Prerequisites

Before you begin, make sure that you have:

Search and filter execution logs

  1. Log in to the Distributed Task Scheduling Platform and select a region in the top menu bar.

  2. In the left-side navigation pane, choose Professional Query > Log Query.

  3. Select a Namespace and an application ID.

  4. Locate a specific execution record using one of the following methods:

    MethodDescriptionExample
    Keyword searchFuzzy prefix matching against task names and log contenttask name prefix*
    FilterNarrow results by predefined fields such as task name or execution statusSelect values from the filter dropdowns

Troubleshooting

If logs do not appear on the Log Query page, check the following:

IssueSolution
SLS integration is not configuredComplete the Simple Log Service integration before querying logs.
Client version is outdatedUpgrade the client to version 1.11.4 or later.
Wrong editionVerify that your application uses the Professional Edition. Log query is not available for other editions.
No application ID selectedSelect an application ID on the Log Query page. Logs are scoped to individual applications.