Dobrushin uniqueness theorem and logarithmic Sobolev inequalities