Implemented log message when duplicates are detected