2c7de8dea6
Extend logd output thread to write logs to per-service files in /var/log/<service>.log, with automatic size-based rotation (10 MB threshold, 5 backup files). All logs also go to /var/log/system.log. Backwards compatible with existing sink file descriptors.