My goal is to log apt/dpkg activity using syslog (rsyslog), so that log entries are sent to central syslog server.dpkg writes to /var/log/dpkg.log, apt writes to /var/log/apt directory.I did some research and it seems that apt nor dpkg are able to use syslog. The only option is to use rsyslog Text File Input Module feature (http://www.rsyslog.com/doc/master/configuration/modules/imfile.html), which periodically checks log file for new content./etc/dpkg/dpkg.cfg configuration file has log option, but there is no manual page for dpkg.cfg options and features.Is really rsyslog imfile the only option?
Logging apt/dpkg activity to syslog
apt;dpkg;syslog;rsyslog