Search.../

operation

Additional information about a potentially long-running operation associated with the log entry.

Description

Some operations, such as an HTTP function call or a scheduled task, include several log entries. The operation object lets you identify all log entries associated with a specific operation via the operation ID, which is unique to each operation. You can also use the producer property to identify the context of the operation, such as a URL path for page code or an HTTP function name.

Note: Currently only applicable for log entries with the Velo namespace.

Type:

LogEntryOperationRead Only
NAME
TYPE
DESCRIPTION
id
string

Unique identifier useful for linking together all log entries associated with a specific operation.

producer
string

Context of the operation, such as a URL path for page code or a web module function name.

Was this helpful?

Log entry operation information for page code

Request

Copy Code
1{
2 // ...
3
4 "operation": {
5 "id": "1554017373.14484058793726342",
6 "producer": "page:/about", // URL path of page within site
7 },
8
9 // ...
10 }
Log entry operation information for an HTTP function

Request

Copy Code
1{
2 // ...
3
4 "operation": {
5 "id": "1554017373.14484058793726342",
6 "producer": "httpFunction:myFunction",
7 },
8
9 // ...
10 }
Log entry operation information for a web module function

Request

Copy Code
1{
2 // ...
3
4 "operation": {
5 "id": "1554017373.14484058793726342",
6 "producer": "webModule:calculator.jsw/calculate",
7 },
8
9 // ...
10 }