Check also cfg.logconfig is None