Log Object Structure

The log object contains messages and metadata about events and errors that occur on your site. Logs are generated by Wix, and with the exception of the payload message, their structure and data can't be modified.

Object structure

It is important to understand log object structure for effective debugging and monitoring. The log object includes the following fields:

FieldTypeDescription
idstringEach log entry is assigned a unique ID. A log entry that has the same id as another log entry indicates a duplicate.
insertIdstringEach log is assigned a unique ID. A log that has the same insertId as another log indicates a duplicate.
timestampstringTime the log event occurred. Date string in ISO 8601 date format.
receiveTimestampstringTime the log was received by Wix Logs or the external monitoring tool. Date string in ISO 8601 date format.
severitystringSeverity of the log. Possible values:

INFO: Status, performance, or other general information.

WARNING: An unexpected or undesired development that may cause problems.

ERROR: A serious issue likely to cause problems.

DEBUG: Logs that are only useful while debugging and generally not relevant for production.
labelsobjectAdditional information about the log.
labels.siteUrlstringBase URL of the site associated with the log.
labels.namespacestringName of Wix app associated with the log, such as Wix Stores or Wix Bookings.

The generic namespace Velo represents site code not associated with any specific Wix app. Only the Velo namespace is supported. You currently can't enter the name of any other Wix app.
labels.tenantIdGUIDUnique site identifier. Does not change even if the site name or other site parameters change.
labels.viewModestringViewing mode in which the log originated. Possible values:

Preview: Site preview mode.

Site: Published site.