Improved logging for duplciate message