Store logger and context configuration in ContainerBuilder