Syslog
The standard Drupal 8 installation enables a module called Database logging.
The Database logging module records log entries that are created by different modules and can be viewed at Reports | Recent log entries (admin/reports/dblog).
However, this means that data is written to the database, so often the database logging module is turned off in production websites for performance reasons.
The Syslog module is an alternative logging module, which logs the same data to the system log of the operating system Drupal is running in.
This is considered to be a faster operation than a database write and therefore is preferable for production sites.
You can alter the settings of the Syslog module by navigating to Configuration | Development | Logging ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access