Updated logging to always include the current HttpContext, if there is one.