nonsip_hooks.c: logging: convert LOG to LM_*