Add log module from oslo-incubator

This code was pulled from oslo-incubator at commit
73bd293303e2360a3ea0d0e4d4af1618eb15d96e.

Change-Id: I5f07362d8418868809dfb91b7a49fd5b58379b7e
Merge "Add log module from oslo-incubator"