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.
Drupal dblog watchdog may generate a lot of write queries to database. The idea is to write all watchdog events to file and filecache cron hook to flush all events from file to DB in some optimized way, e.g. COPY when PostgreSQL is used. Drupal reporting of log events must be supported.
Comments
Comment #1
ogi CreditAttribution: ogi commentedDrupal core already implements file logging in syslog core module.
Logging has very different requirements than caching and has no place in File Cache.