Skip to content

Commit

Permalink
DNM: always print xml response
Browse files Browse the repository at this point in the history
  • Loading branch information
abhijat committed Nov 8, 2023
1 parent 677c9df commit cc0d353
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/v/cloud_storage_clients/s3_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -908,11 +908,9 @@ iobuf_to_delete_objects_result(iobuf&& buf) {
s3_log.error,
"DeleteObjects response parse failed: {}",
std::current_exception());
if (s3_log.is_enabled(ss::log_level::trace)) {
std::stringstream outs;
boost::property_tree::write_xml(outs, root);
vlog(s3_log.trace, "Response XML: {}", outs.str());
}
std::stringstream outs;
boost::property_tree::write_xml(outs, root);
vlog(s3_log.trace, "Response XML: {}", outs.str());
throw;
}
return result;
Expand Down

0 comments on commit cc0d353

Please sign in to comment.