Site logs provide information about events and errors that occur on your site. They are generated in both preview mode and for the published site, and can originate from your site's frontend and backend.
Use site logs to:
Trace visitor flows.
Gain insights into your site's performance.
View messages generated by methods such as console.log() or console.info().
Trace and resolve errors. Error logs include a stack trace to make debugging easier.
Compare site logs against your site history and the Release Manager to debug and analyze different site revisions.
Note: Verbose logging is only supported for routers.
Site logs are available directly in your site dashboard, as well as through external monitoring tools you can connect to your site.
You can view your site's logs with:
Wix Logs: Use Wix Logs to view basic log information in real-time directly in the site dashboard.
Google Cloud Logs: View your site's logs in Google Cloud Logs, a monitoring tool that performs log analysis and generates visual depictions of log data.
Each site log contains the payload message as well as log metadata, such as the log's timestamp, origin, the site's view mode, and the site's revision number.