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: I4f2574b60157c94a37b7c02283a10abc88d98d26
This commit is contained in:
howardlee 2016-11-07 14:54:27 +08:00
parent 8f1df3fcb8
commit 94c5988749
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@
# License for the specific language governing permissions and limitations
# under the License.
import logging
from oslo_log import log as logging
from django.core.urlresolvers import reverse
from django.core.urlresolvers import reverse_lazy

View File

@ -12,7 +12,7 @@
# License for the specific language governing permissions and limitations
# under the License.
import logging
from oslo_log import log as logging
from django.utils.translation import ugettext_lazy as _