Log RPM activity to syslog

Log any RPM activity or transaction by using the System Logging protocol (syslog).

Before you begin

  • The syslog plug-in is installed on the system:
    # dnf install rpm-plugin-syslog
    Note

    The default location for the syslog messages is the /var/log/messages file. However, you can configure syslog to use another location to store the messages.

Procedure

  1. Open the file that you configured to store the syslog messages.

    Alternatively, if you use the default syslog configuration, open the /var/log/messages file.

  2. Search for new lines including the [RPM] string.