You have your liberal opinion, good for you.
Personally, I'm shocked a judge did condemn a mother for spanking, especially if it was reasonable (ie no bruise, etc) and legally allowed.
The problem here is not so much your on my opinion, but someone being condemned for doing something the laws says is legal.