Updated header debug logging to show the header text that is