Enabling and Configuring Drupal's Syslog Module
Date Published: January 16, 2023
The use of the Syslog module instead of the Database Logging module on the Acquia Platform increases the performance in several ways,
- It stops logs from being written into the database, which affects performance and fills your database volume
- Acquia support can better assist with the analysis of performance, and diagnosis of your any issue your website might be displaying.
- You can use a log forwarding service https://docs.acquia.com/acquia-cloud/monitor/logs/forwarding/.
To enable the Syslog module, do either of the following:
Once you have enabled the module and navigate to /admin/config/development/logging, you must update the Syslog configuration. In order that there is an appropriate level of logging verbosity for a production environment, it is good to update the configuration so that additional details are written in the drupal-watchdog.log.
Acquia recommends the following settings as these match the defaults set by Drupal Core: