About Logs

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 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 logs against your site history and the Release Manager to debug and analyze different site revisions.

Note: Verbose logging is only supported for routers.

Log viewing options

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:

Log structure

Each 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.

Learn more about the log object structure.

See also

Did this help?