adding log command