Added logging before merging hashes