tencent cloud

All product documents
Tencent Cloud EdgeOne
Edge Function Running Logs
Last updated: 2025-04-22 15:26:02
Edge Function Running Logs
Last updated: 2025-04-22 15:26:02

Field Description

Field Name
Data Type
Description
EdgeFunctionName
String
Name of the triggered edge function.
RequestHost
String
Host of the client request (the domain name of the main request).
RequestID
String
Unique ID of the client request (UUID of the main request).
EventTimestamp
Integer
Timestamp of the function trigger. Format: UNIX, accurate to ms.
Logs
Array[object]
Specified information printed by Users in the JS code using the console.log() method.
Outcome
String
Whether the function execution is successful, values are:
ok: no exceptions or errors
exception: There are exceptions or errors. For error details, please refer to the Exceptions field.
Exceptions
Array[object]
Details of exceptions and errors encountered during function execution.
CpuTime
Integer
CPU time consumed, unit: microsecond.
WallTime
Integer
Wall clock time, the time elapsed from function trigger to completion, unit: microsecond.

Log Examples

Below is an example of a single edge function runtime log by default. You can customize the EdgeOne log output format according to the specific requirements of the downstream log analysis system. For more details, see Customizing Log Output Format.
{
"WallTime": 125221,
"RequestID": 8254903099116445190,
"EventTimestamp": 1727251229247,
"EdgeFunctionName": "testtracelog-zone-2rdnikn6zjck-251255070",
"Outcome": "ok",
"RequestHost": "www.example.com",
"Exceptions": [],
"Logs": [
{
"level": "INFO",
"message": "test log from function",
"timestamp": 1727251229247
}
],
"CpuTime": 547
}


Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

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 available.

7x24 Phone Support