Added a log for debugging headers