fix to reviewer comment: add check if logging disabled
fix to reviewer comment: add check if logging disabled

metacloud/python-novaclient,takeshineshiro/python-novaclient,mat128/python-novaclient,guptaankita/python-novaclient,guptaankita/python-novaclient,CCI-MOC/python-novaclient,ntt-sic/python-novaclient,metacloud/python-novaclient,ntt-sic/python-novaclient,mat128/python-novaclient,Shihta/python-novaclient,CCI-MOC/python-novaclient,JioCloud/python-novaclient,Shihta/python-novaclient,citrix-openstack-build/python-novaclient,JioCloud/python-novaclient,akash1808/python-novaclient,akash1808/python-novaclient,citrix-openstack-build/python-novaclient,takeshineshiro/python-novaclient