Using oslo_log instead of logging

The oslo.log (logging) configuration library provides standardized
configuration for all openstack projects. It also provides custom
formatters, handlers and support for context specific logging (like
resource id's etc).

I think it's better to use the common logging module.

Change-Id: I3baefd043a557417e8317a80d57cc5a4a48ccc08
This commit is contained in:
chenxiangui 2018-01-22 09:25:35 +08:00 committed by Renat Akhmerov
parent b991844679
commit c55eaba612
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,6 @@ import contextlib
import datetime
import functools
import json
import logging
import os
from os import path
import shutil
@ -30,6 +29,7 @@ import threading
import eventlet
from eventlet import corolocal
from oslo_concurrency import processutils
from oslo_log import log as logging
from oslo_utils import timeutils
from oslo_utils import uuidutils
import pkg_resources as pkg