Introduction

Note the following terminology:

  • Log entry: Single record of a Wix log.
  • Log: Collection of log entries associated with the same site and namespace.

The following is an example of a LogEntry:

Log Entry for Console Log in HTTP Function

Copy

Note: Currently, you cannot add content to log entries. All log entry data is generated by Velo.

Did this help?

insertId


insertIdstringRead-only

Unique identifier for the log entry.

Each log entry is assigned a unique ID. A log entry with the same insertId as another log entry indicates a duplicate.

Log entry insertId
JavaScript
Did this help?

jsonPayload


jsonPayloadLogEntryJsonPayloadRead-only

Payload of the log entry in JSON format.

Log entry payload information
JavaScript
Did this help?

labels


labelsLogEntryLabelsRead-only

Additional information about the log entry.

Log entry labels
JavaScript
Did this help?

operation


operationLogEntryOperationRead-only

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

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.

JavaScript
{ // ... "operation": { "id": "1554017373.14484058793726342", "producer": "page:/about", // URL path of page within site }, // ... }
Did this help?