tencent cloud

Feedback

Viewing Execution Logs

Last updated: 2022-04-29 11:14:13

    Overview

    You can view the function execution logs in the SCF console. You can filter to display real-time logs or logs from the last 24 hours. You can also specify a custom time range. You can choose to view all logs, or logs of successful, failed, timed-out, and excessive invocations and code exceptions in the SCF console.

    Directions

    You can view function logs in the SCF console.

    Viewing execution logs in console

    1. Log in to the SCF console and click Function Service on the left sidebar.
    2. Click a function name to enter the function details page.
    3. On the function details page, select Log Query on the left to open the Invocation Logs page as shown below:

    Finding execution log

    Follow the steps below to find an execution log as needed.

    Invocation log

    • In the top-right corner search box, enter the requestID of the execution log you want to view and press Enter:
    • You can also set custom search criteria in the top-left corner based on actual needs.
    • All Logs: you can select logs of successful invocations or failed invocations.
    • Select a date: you can view the execution logs generated in the last 6 days up to today. Currently, you can only search for logs in a time range of no more than 24 hours.
    • Realtime: you can view the current execution log of a function.
    • Last 24 hours: you can view the execution logs generated in the last 24 hours.

    You can search for SCF logs by keyword or use query syntax to combine keywords for search. For more information, please see Log Search Guide.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support