better context logging