log command during tests