View Site Logs using Wix Logs

Wix Logs allow you to view your site's logs in real-time directly in your site's dashboard. Logs are displayed in a list that updates in real-time, and you can pause, resume, or clear the log stream. Site logs contain metadata as well as the log's payload message.

Note: Logs viewed in Wix Logs cannot be saved. To save logs for later use, use Google Cloud Logs or another external logging tool.

To view your site logs using Wix Logs:

  1. Enable code:

    • Wix Studio: Click Code icon and then Start Coding.
    • Wix Editor: Turn on Dev Mode for your site.
  2. In the site dashboard, click Developer Tools > Logging Tools.

  3. In the Wix Logs section, click Open. The Wix Logs dashboard page opens.

  4. 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 logs text to the console when clicked, click the button. The log appears in the Wix Logs page:

    Each log displayed in the Wix Logs page includes the following fields:

    ColumnDescriptionLog object property
    TimeTime when the log was received by Wix Logs.receiveTimestamp
    MessageLog's payload message in JSON format.jsonPayload.message
    LevelLog's severity level. Possible values are:

    INFO, WARNING, or ERROR.
    severity

In the Wix Editor, you can also access Wix Logs from Preview mode. While in Preview mode, click Logging tools in the Developer Console, and then click Wix Logs.

Tip: If the live log stream does not appear, refresh your site while the Wix Logs page is open in another tab.

See also

Did this help?