Site Building

12.4. Concept: Log for Drupal 8, 9, 10, and 11

What is a Log?

Your site captures system events in a log to be reviewed by an authorized individual at a later time. The log is a list of recorded events containing usage data, performance data, errors, warnings, and operational information. It is vital to check the log on a regular basis as it is often the only way to tell what is going on.

You can find your site’s recent log messages in the Manage administrative menu by navigating to Reports > Recent log messages (admin/reports/dblog). These logs may be cleared by administrators and automated cron tasks, so they should not be used for forensic logging. For forensic purposes, use the Syslog module.

Image
Recent log messages of a basic site

Attributions

Adapted by Diána Lakatos from "Reports" copyright 2000-2024 by the individual contributors to the Drupal Community Documentation

Drupal User Guide