Cleanup unused log related code
Cleanup unused log related code

Not all modules need log function,but there are abused imports
codes for log. Let us clean up them.

Closes-Bug: #1265962
Change-Id: Icd4dc6f9d60cd829e5cd352f00144adb82cf8306

akash1808/oslo.db,vikt0rs/oslo.db,openstack/oslo.db,openstack/oslo.db,magic0704/oslo.db,malor/oslo.db,JioCloud/oslo.db,varunarya10/oslo.db