I would like to suggest to add an config option to settings.php and dblog_watchdog which allows to set a minimum severity level for logging.

On a production site, there is no need to create database calls for every debug message.

Comments

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.