Velo: Viewing Live Wix Logs
Wix Logs lets you view logs in real-time. Tracking logs and errors as they are reported lets you gain immediate insight into Wix Logs.
How It Works
Wix Logs displays logs as they occur. A log is a JSON object representing logged information.
The Wix Logs window shows:
- Basic log information.
- Full JSON object for each log.
Logs stream to your Wix Logs window as they are generated.
To view Wix Logs:
-
Enable code:
- Wix Studio: If necessary, click
and then Start Coding.
- Wix Editor: Turn on Velo Dev Mode for your site.
- Wix Studio: If necessary, click
-
Select Developer Tools in the dashboard.
-
Under the Logging Tools section, select Wix Logs.
-
To generate a log, preview or publish your site and trigger an event. For example, if you have a console log that runs when a button is clicked, click the button. You should see the log in your window.
You can also access Wix Logs from Preview mode in the Wix Editor. While in Preview mode, click Live Site Logs in the Developer Console.
![](https://wixmp-833713b177cebf373f611808.wixmp.com/images/viewing-live-wix-logs-md_velo-articles_developer-tools_images_developer-console-preview.png)
Notes
- To view logs, reload the Wix Logs window.
- You can view a list of actions that trigger logs here.
![](https://wixmp-833713b177cebf373f611808.wixmp.com/images/viewing-live-wix-logs-md_velo-articles_developer-tools_images_site-logs-example-old.png)
Tip: If you don't see the live log stream in your window, refresh your site while the Wix Logs window is open in another tab.
Each log in the window includes the following fields:
- Time:
receiveTimestamp
of the log. Time the log was received by Wix Logs. - Message:
jsonPayload.message
of the log. Payload message of the log in JSON format. - Level:
severity
of the log: INFO, WARNING, or ERROR.
View JSON
You can view the JSON object representing the log by clicking the log in the table. To hide the JSON object, click the log again.
Manage Live Logs
You can also do the following in the Wix Logs window:
Pause log streaming
To temporarily pause log streaming, click Pause.
Continue log streaming
To continue log streaming after it was paused, click Play.
Clear log entries
To remove all logs from the window, click Clear.
Notes