Init logger before loading config

[#74363508]

Signed-off-by: Julian Friedman <julz.friedman@uk.ibm.com>