added logging api responses