forward.h: logging: convert LOG to LM_*