further ctx logging enhancements