All Products
Search
Document Center

Cloud Config:How do I view the execution logs of a custom function?

Last Updated:Feb 29, 2024

This topic describes how to view the execution logs of a custom function after the custom function is executed. This helps you resolve the issues about function execution at the earliest opportunity.

Procedure

To view the execution logs of a custom function, you must enable the logging feature for the service to which the custom function belongs. After the logging feature is enabled, you can view the execution logs of the custom function on the function details page. Perform the following steps to enable the logging feature:

  1. Log on to the Function Compute console.

  2. In the left-side navigation pane, click Services & Functions.

  3. On the Services page, click the name of the service that you want to manage.

  4. On the page that appears, click the name of the function that you want to manage.

  5. On the details page of the function, click the Logs tab.

  6. On the Logs tab, click Enable.

    The logging feature is enabled for the function.

References