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

ogi’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Drupal core already implements file logging in syslog core module.

Logging has very different requirements than caching and has no place in File Cache.