how about adding a line here to explain why the requires are partitioned? something like

    // requiring primary sometimes fails, so require & init logging first