Global context logger, proxy context to threads

rename to `merge_contexts`