> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Log Object Structure ## Article: Site Log Object Structure ## Article Link: https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/log-object-structure.md ## Article Content: # Log Object Structure The log object contains messages and metadata about events and errors that occur on your site. [Logs](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/about-logs.md) 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: | Field | Type | Description | | --------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `id` | string | Each log entry is assigned a unique ID. A log entry that has the same `id` as another log entry indicates a duplicate. | | `insertId` | string | Each log is assigned a unique ID. A log that has the same `insertId` as another log indicates a duplicate. | | `timestamp` | string | Time the log event occurred. Date string in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date format. | | `receiveTimestamp` | string | Time the log was received by [Wix Logs](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/view-logs-using-wix-logs.md) or the [external monitoring tool](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/view-logs-using-an-external-monitoring-tool.md). Date string in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date format. | | `severity` | string | Severity 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. | | `labels` | object | Additional information about the log. | | `labels.siteUrl` | string | Base URL of the site associated with the log. | | `labels.namespace` | string | Name of Wix app associated with the log, such as [Wix Stores](https://www.wix.com/app-market/wix-stores) or [Wix Bookings](https://www.wix.com/app-market/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.tenantId` | GUID | Unique site identifier. Does not change even if the site name or other site parameters change. | | `labels.viewMode` | string | Viewing mode in which the log originated. Possible values:

`Preview`: [Site preview mode](https://support.wix.com/en/article/studio-editor-saving-previewing-and-publishing-your-site#previewing-a-site).

`Site`: [Published site](https://support.wix.com/en/article/studio-editor-saving-previewing-and-publishing-your-site#publishing-a-site). | | `labels.revision` | string | Unique site revision identifier. You can use the `revision` property together with the [Release Manager](https://support.wix.com/en/article/about-site-monitoring#site-revisions) to monitor and debug new site revisions. | | `operation` | object | Additional information about a potentially [long-running operation](#long-running-site-operations) associated with the log. | | `operation.id` | string | Unique operation identifier. | | `operation.producer` | string | Operation context, such as the page or web module where the operation took place. | | `sourceLocation` | object | Source code location information. Applies to backend log entries with the `Velo` namespace. | | `sourceLocation.file` | string | File that generated the log. | | `sourceLocation.line` | number | Number of line that generated the log. | | `sourceLocation.column` | number | Number of the column on the line that generated the log. | | `jsonPayload` | object | Log payload in JSON format. | | `jsonPayload.message` | string | Payload message. | ### Long-running site operations Some operations, such as a method call or a [scheduled job](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/recurring-jobs/about-scheduling-recurring-jobs.md), generate multiple log entries. The `operation` object allows you to find the logs associated with a specific operation. Use the unique `operation.id` field to identify which operation generated the logs, and the `producer` property to view the context in which the operation took place. ## Example Here's an example log object: ```json { "insertId":"6axgiF6X45ftx7A1bjJBCh", "timestamp": "2019-03-31T06:02:12.008Z", "labels": { "siteUrl": "https://my-site.com", "revision": "12", "namespace": "Velo", "tenantId": "fbd4e3c6-8e55-4098-b0ff-5e478b6c957e", "viewMode": "Preview" }, "sourceLocation": { "file": "backend/backend.web.js", "line": 26, "column" : 16 }, "operation": { "id": "1554017373.14484058793726342", "producer": "backend" }, "jsonPayload": { "message": "Backend event triggered." }, "receiveTimestamp": "2025-01-20T06:02:12.925Z", "id": "455b7bef-8ba2-4914-9808-0f9f98084f71", "severity": "INFO" } ``` ## See also - [About Wix logs](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/about-logs.md) - [View logs using Wix Logs](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/view-logs-using-google-cloud-logs.md) - [View logs using Google Cloud Logs](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/view-logs-using-google-cloud-logs.md) - [View logs using an external monitoring tool](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/view-logs-using-an-external-monitoring-tool.md) - [Tutorial | Generate a log to debug your site](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/generate-logs-to-debug-your-site.md)