log the headers in debug output