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 ...

Get Drupal 8: Enterprise Web Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.