Use oslo_log lib

Module 'log' from oslo-incubator was removed after release of oslo_log library.
So, start using oslo_log, but keep oslo-incubator code yet other common modules
within Manila codebase use it.

Implements bp use-oslo-log-lib

Change-Id: I88224f7c2bd99adb78140dfc3fa73cea437f29cd
This commit is contained in:
Valeriy Ponomaryov
2015-02-03 20:05:14 +02:00
parent 9e02468864
commit 63a0504c21
89 changed files with 182 additions and 212 deletions

View File

@@ -14,11 +14,12 @@
# License for the specific language governing permissions and limitations
# under the License.
from oslo_log import log
from manila.api.middleware import sizelimit
from manila.i18n import _LW
from manila.openstack.common import log as logging
LOG = logging.getLogger(__name__)
LOG = log.getLogger(__name__)
class RequestBodySizeLimiter(sizelimit.RequestBodySizeLimiter):