Gatsby Cloud Docs

Structured Logs

Structured logging in Gatsby Cloud

Table of Contents

What are structured logs?

Structured logs are logs that are more actionable, more readable, and less noisy. They are useful for an immediate, high-level, at-a-glance overview of the status of your preview or build.

Raw logs are the full, unstructured log output. They are useful for having a more comprehensive amount of feedback for debugging.

In Gatsby Cloud, both structured logs and raw logs are available for each preview and build.

How do I get structured logs?

To enable structured logging, ensure that your Gatsby project relies on Gatsby version 2.16.0 or later.

If you’re on an earlier version of Gatsby, you’ll only see raw logs.

© 2020 Gatsby, Inc.