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:
Log on to the Function Compute console.
In the left-side navigation pane, click Services & Functions.
On the Services page, click the name of the service that you want to manage.
On the page that appears, click the name of the function that you want to manage.
On the details page of the function, click the Logs tab.
On the Logs tab, click Enable.
The logging feature is enabled for the function.