save logging preference for friend chats and improve log command message