select_buf.c: logging: convert LOG to LM_*