name_alias.h: logging: convert LOG to LM_*