Initialize logging before plugin manager, otherwise the logging output of the latter will not be visible