Make it possible for a log context to keep track of its parent context.