Changing logging to oslo_log
The oslo.log lib provides standardized log functions for all opentack projects. It is better to use the common logging module instead of logging Change-Id: I7faa95c58a83f76cc72f65edabd57034641a6377
This commit is contained in:
		@@ -16,8 +16,8 @@
 | 
			
		||||
 | 
			
		||||
import copy
 | 
			
		||||
import json
 | 
			
		||||
import logging
 | 
			
		||||
import os
 | 
			
		||||
from oslo_log import log as logging
 | 
			
		||||
import socket
 | 
			
		||||
import ssl
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -18,8 +18,8 @@
 | 
			
		||||
 | 
			
		||||
import errno
 | 
			
		||||
import fcntl
 | 
			
		||||
import logging
 | 
			
		||||
import os
 | 
			
		||||
from oslo_log import log as logging
 | 
			
		||||
import select
 | 
			
		||||
import signal
 | 
			
		||||
import six
 | 
			
		||||
 
 | 
			
		||||
@@ -11,7 +11,7 @@
 | 
			
		||||
#    under the License.
 | 
			
		||||
 | 
			
		||||
import argparse
 | 
			
		||||
import logging
 | 
			
		||||
from oslo_log import log as logging
 | 
			
		||||
 | 
			
		||||
from osc_lib import utils
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -13,8 +13,8 @@
 | 
			
		||||
import argparse
 | 
			
		||||
from contextlib import closing
 | 
			
		||||
import io
 | 
			
		||||
import logging
 | 
			
		||||
import os
 | 
			
		||||
from oslo_log import log as logging
 | 
			
		||||
import tarfile
 | 
			
		||||
import time
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -10,7 +10,7 @@
 | 
			
		||||
# License for the specific language governing permissions and limitations
 | 
			
		||||
# under the License.
 | 
			
		||||
 | 
			
		||||
import logging
 | 
			
		||||
from oslo_log import log as logging
 | 
			
		||||
 | 
			
		||||
from osc_lib.command import command
 | 
			
		||||
from osc_lib import utils
 | 
			
		||||
 
 | 
			
		||||
@@ -10,7 +10,7 @@
 | 
			
		||||
# License for the specific language governing permissions and limitations
 | 
			
		||||
# under the License.
 | 
			
		||||
 | 
			
		||||
import logging
 | 
			
		||||
from oslo_log import log as logging
 | 
			
		||||
 | 
			
		||||
from osc_lib.command import command
 | 
			
		||||
from osc_lib import utils
 | 
			
		||||
 
 | 
			
		||||
@@ -10,7 +10,7 @@
 | 
			
		||||
# License for the specific language governing permissions and limitations
 | 
			
		||||
# under the License.
 | 
			
		||||
 | 
			
		||||
import logging
 | 
			
		||||
from oslo_log import log as logging
 | 
			
		||||
 | 
			
		||||
from osc_lib.command import command
 | 
			
		||||
from osc_lib import utils
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user