Prevent chicken/egg with the logger.

If we attempt to load the logger before horde's configuration is
fully loaded, we might not have the the logger settings available.
This will cause the injector factory to return a null logger. Since
the injector acts as a singleton in this case, we may never obtain
a correct logger.

Fixes Bug: 12094