You can enable LTS to better manage function logs. After you enable LTS, FunctionGraph automatically creates a log group starting with functiongraph. When you create a function, a log stream starting with the function name is generated.
Result |
Description |
---|---|
Execution successful |
Log printed when a function is successfully executed. |
Execution failed |
Log printed when a function fails to be executed due to invocation timeout, memory or disk threshold exceeded, or code errors. To view the logs about invocation timeout, select Invocation timed out from the drop-down list. The methods for viewing the other three types of logs are the same. |
Cause |
Description |
---|---|
Initialization failed |
Log printed when the function initialization fails. |
Load failed |
Log generated when the runtime fails to load your function file. |
System error |
Internal error. |
Invocation timed out |
Log printed when the function invocation period is longer than the preset limit. |
Memory threshold exceeded |
Log printed when the function memory size exceeds the preset limit. |
Disk threshold exceeded |
Log printed when the disk size exceeds the preset limit. |
Code error |
Log printed when a code error occurs. |