make log command work