3.22. Logging RPM activity to syslog

Any RPM activity or transaction can be logged by the System Logging protocol (syslog).

Conditions préalables

  • To enable the logging of RPM transactions to syslog, make sure that 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.

To see the updates on RPM activity, follow the described procedure.

Procédure

  1. Open the file that you configured to store the syslog messages, or if you use the default syslog configuration, open the /var/log/messages file.
  2. Search for new lines including the [RPM] string.