Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It's unnecessary to log all downloads to watchdog() when the module already logs its own records to the {download_count} and {download_cache} tables. At the very least it should be optional.
Comment | File | Size | Author |
---|---|---|---|
#2 | download_count-n2899963-2.patch | 2.21 KB | DamienMcKenna |
Comments
Comment #2
DamienMcKennaThis makes the watchdog logging optional.
Comment #3
MichelleI think the form item description could be simplified. Maybe "Optionally log downloads to the watchdog system in addition to the download count table."? Not sure it's necessary to add the part about it adding a lot of records as that's sort of a given. Knowing that the information is available elsewhere is important, though, and being more specific about where would be good.
Comment #4
gnuget