[rime] setup logging