register log command