Protect against potential race conditions when requiring cient logger

Not including the logger in the requirements for bootstrapping the client means that it might not have been loaded by the time the bootstrap metho is called causing potential errors.

By including it in the requirements for the bootstrap to be called we can be certain that it has been loaded before we start running code.
Remove single-use variable assignation