stats.h: logging: convert LOG to LM_*
stats.c: logging: convert LOG to LM_*