Skip to main content

Logs

This guide describes how to access system logs across different Gradient resources.

Overview

Every Gradient workload produces logs that are available both in realtime and after the workload is complete. Gradient will display these logs in the web UI and they can also be queried from the CLI.

note

All logs are retained for 30 days after which they will no longer be stored.

Notebook Logs

The Notebook log view and log history is displayed on the bottom the IDE and can be toggled on and off in the bottom left-hand corner.

Viewing logs in Gradient Notebooks

Notebook logs can also be accessed through the CLI by using the Notebook logs endpoint.

Workflow Logs

Workflow logs are accessed within each step of a workflow. These discrete logs can be used to troubleshoot and isolate errors to a single job. Access them by toggling over to the logs tab in the individual step view.

Viewing logs in Gradient Workflows

Workflow logs can also be accessed through the CLI by using the Workflow logs endpoint.

Deployment Logs

Deployment logs can be accessed by toggling over to the logs tab in an individual deployments view.

Viewing logs in Gradient Deployments