Switch to oslo_log

Solum dashboard is currently using python logging module to
implement logging functionality.
This patch made a switch to oslo.log(logging for openstack projects)

Reference:-
http://docs.openstack.org/developer/oslo.log

Change-Id: I73cae3ac8982f8e328387f867699f051c3097844
This commit is contained in:
avnish
2017-01-17 12:06:22 +05:30
parent aad9cb655a
commit 214a67e763
4 changed files with 4 additions and 5 deletions

View File

@@ -9,6 +9,7 @@ django-openstack-auth>=2.4.0 # Apache-2.0
eventlet!=0.18.3,>=0.18.2 # MIT
iso8601>=0.1.11 # MIT
netaddr!=0.7.16,>=0.7.13 # BSD
oslo.log>=3.11.0 # Apache-2.0
python-keystoneclient>=3.8.0 # Apache-2.0
python-solumclient>=1.2.7 # Apache-2.0
pytz>=2013.6 # MIT

View File

@@ -13,14 +13,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import logging
from horizon import exceptions
from solumclient import client as api_client
from openstack_dashboard.api import base
from openstack_dashboard.api import keystone
from oslo_log import log as logging
LOG = logging.getLogger(__name__)

View File

@@ -13,14 +13,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import logging
from django.core.urlresolvers import reverse
from django.utils.translation import ugettext_lazy as _
from horizon import exceptions
from horizon import forms
from horizon import messages
from oslo_log import log as logging
from solumclient.common import yamlutils
from solumclient.v1 import workflow as cli_wf

View File

@@ -14,7 +14,6 @@
# limitations under the License.
import json
import logging
from django.core.urlresolvers import reverse
from django.utils.translation import ugettext_lazy as _
@@ -23,6 +22,7 @@ from horizon import exceptions
from horizon import forms
from horizon import messages
from oslo_log import log as logging
from solumclient.common import yamlutils
from solumdashboard.api.client import client as solumclient