Logging concurrent context changes