Wix Logs allow you to view logs in real-time, and you can pause, resume, or clear the log stream. Logs contain metadata as well as the log's payload message.
Notes:
LogEntry
object contains the data for each log.In the site dashboard, click Developer Tools > Logging Tools.
In the Wix Logs section, click Open. The Wix Logs page opens.
To generate a log, preview or publish your site and trigger an event that generates a log. For example, if you have a button that, when clicked, logs the result of 2 multiplied numbers, click the button. The logs indicating success appear in the Wix Logs page:
Similarly, if not successful, the logs might display as follows:
Tip: If the live log stream does not appear, refresh your site while the Wix Logs page is open in another tab.
By default, each log displayed in the Wix Logs page includes the following fields:
Column | Description | Log object property |
---|---|---|
Level | Log's severity level. Possible values are: INFO , WARNING , ERROR , or DEBUG . | severity |
Time | Timestamp when the log was triggered. | receiveTimestamp |
Message | Log's payload message in JSON format. | jsonPayload.message |
Source file | Path to the source file that generated the log message. | sourceLocation.file |
You can change the view to suit your needs:
To change the order of columns or display additional ones, such as the operation ID and the data stream, click .
Filter the log messages by:
Stream. Filter by preview, live site, or both.
Level. Limit the logs by info, warning, error, or debug.
Find specific logs by providing search criteria.
To view additional details for a log, hover over it and click View. See the log object structure for an explanation of each field.
To copy the object in JSON format, click and then Copy JSON.