Replace logDebugFlags() with logCurrentConfig()