added body logging