Review Request 721: Added logging to rpm scriptlets, copied from openlmi-providers.