support for yum log files

Hi guys

This PR contains what I needed to stop yum from writing to /var/log/messages on CentOS 6.4.

I'm positive it should work on all RHEL/CentOS flavours I'm aware of.

Ta
Lucas