ut.h: logging: convert LOG to LM_*