add do {} while around all ifs in the LOG macros
Merge branch 'u/salnikov/DM-1186'