Starting with version 4.6.0, AxoSyslog can collect logs of the qBittorrent application.
source s_qbittorrent {
qbittorrent(
dir("/path/to/qbittorrent-root-log-dir")
);
};
To configure the source, you only have to specify the root log directory of qBittorrent in the dir() parameter. You can find the root log directory by selecting Tools > Preferences > Behavior > Log file > Save path in the qBittorrent application. Otherwise, the qbittorrent() source has the same parameters as the file() source.
The qbittorrent() driver is actually a reusable configuration snippet. For details on using or writing such configuration snippets, see Reusing configuration blocks. You can find the source of this configuration snippet on GitHub.