change empty macro in log.h to do-while-0