Log a backtrace from the culprit location if headers were already sent