Characterizing and Detecting Duplicate Logging Code Smells