Skip to content
On this page

Directus Cloud

Everything you need to start building. Provisioned in 90 seconds. Starting at $15/month.

Get Started

System Logs

System Logs, released in Directus 11.1.0, shows the Directus application logs in real-time. This is useful for debugging and monitoring the Directus application as it runs.

Two panes - one showing the logs and the other showing the full query of the selected item, along with log level and timestamp.

Logs are shown in the System Logs pane in realtime as the Directus application receives queries originating from the Data Studio or API.

Each log message contains the following information:

  • level - The log level of the message.
  • time - The timestamp of the log message.
  • msg - The message of the log containing the method and path.

Ephemeral Logs

System Logs are ephemeral and not stored in the database. They are only available while the realtime connection is active. Refreshing the page will clear the logs.

Log Levels

Under the hood, Directus uses pino for logging and uses the log levels provided by the library:

Log LevelNumeric Value
trace10
debug20
info30
warn40
error50
fatal60

You can enable different log levels shown in System Logs via the WEBSOCKETS_LOGS_LEVEL environment variable.

Searching & Filtering

If running multiple instances of Directus in a horizontally-scaled setup, you can also filter the logs by instance in the System Logs pane.

You can also filter the logs by level, or filter by search terms in the msg field.