Harvey has more respect for Mike than Rachel. He had his back and drops the piece of shit. While she sat there and tried to hide the entire event from him. There is a Quote “Bros before Hoes” for a reason.
Frankly, Logan didn't deserve this at all as he didn't really do anything wrong. The only one who did something wrong was Rachel. Logan wasn't Mike's buddy and had no reason to give a shit about him. He could pursue Rachel irrespective of whether she was in a relationship or not. The fact that Rachel fell for it and responded was completely on her. Also, it was Mike who goes to his house and assaults him and gets into a fight for no reason. Frankly, Logan could've gotten Mike arrested for doing that but he didn't. Apart from Harvey having Mike's back by not being in business with someone his buddy hates, this makes no sense. Logan doesn't deserve this at all.
Harvey also probably hates the guy because his mother also cheated on his father. Which is why he has vowed to never go after women in relationships because he will never be the other guy who helped destroy a relationship or a family.