fix logging usage when SimpleLogging enabled