Duplicates message lines in mail log

Hi Team

  • Need your tips on this

Messages in Logs of /var/log/messages and /var/log/mail.log are duplicating twice though i made changes in “/etc/rsyslog.conf” as “$RepeatedMsgReduction on”

  • And also i have added “&~” after the line “mail.* /var/log/mail.log” in “/etc/rsyslog.conf”

But duplicating lines in log messages still exist

OS Version : RHEL v7.2

Thanks in Advance Friends