register: log fix