Articles in this section

Disabling Watchdog on Drupal

On busy Drupal sites, the Watchdog table in Drupal can become a bottleneck for application performance.  Especially if your application code generates warnings on each request, inserting those warnings into a database table can cause significant performance issues.

Resolving the underlying warnings is a good strategy long-term, but you should also adjust Watchdog itself to limit its impact on a production site.  To disable Watchdog entirely, run this command:

 

drush pm:uninstall dblog
drush cr
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.