logging headers sent