The source project of this merge request has been removed.
RF: Don't assume that setup_logging has been called.
The original design for the setup_logging/redirect_logging functions assumed that pipeline jobs would be executed in the same process as the main pipeline-setup process; specifically, the redirect_logging function assumed that setup_logging has been called. This is not the case, as when running on a cluster, pipeline jobs will be executed in a self-contained python process.
This MR adjusts the redirect_logging function so that it will work in either scenario.