log command and details