summaryrefslogtreecommitdiff
path: root/taskflow/listeners
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@gmail.com>2014-09-21 10:37:35 -0700
committerJoshua Harlow <harlowja@gmail.com>2014-12-08 22:09:13 -0800
commit14431bc0769673fe5a70182189e2d4038a804cd8 (patch)
treebf80571191d61ce722f5ac6305afef427a6165e0 /taskflow/listeners
parentbdb2a3a89b1c76606aa468beb08ea89c79ccb24b (diff)
downloadtaskflow-14431bc0769673fe5a70182189e2d4038a804cd8.tar.gz
Add and use a new simple helper logging module
Add a new logging BLATHER level to easily allow its usage for messages that are below the normal DEBUG level such as compilation information and scope lookup info which can be very verbose in logs if always enabled. Change-Id: I828211403bd02bfd6777b10cdcfe58fb0637a52c
Diffstat (limited to 'taskflow/listeners')
-rw-r--r--taskflow/listeners/base.py2
-rw-r--r--taskflow/listeners/logging.py2
-rw-r--r--taskflow/listeners/timing.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/taskflow/listeners/base.py b/taskflow/listeners/base.py
index f69bb87..47ff8d5 100644
--- a/taskflow/listeners/base.py
+++ b/taskflow/listeners/base.py
@@ -17,11 +17,11 @@
from __future__ import absolute_import
import abc
-import logging
from oslo.utils import excutils
import six
+from taskflow import logging
from taskflow import states
from taskflow.types import failure
from taskflow.types import notifier
diff --git a/taskflow/listeners/logging.py b/taskflow/listeners/logging.py
index 51bf693..d707e39 100644
--- a/taskflow/listeners/logging.py
+++ b/taskflow/listeners/logging.py
@@ -16,10 +16,10 @@
from __future__ import absolute_import
-import logging
import sys
from taskflow.listeners import base
+from taskflow import logging
from taskflow import states
from taskflow.types import failure
diff --git a/taskflow/listeners/timing.py b/taskflow/listeners/timing.py
index 4a08256..f208054 100644
--- a/taskflow/listeners/timing.py
+++ b/taskflow/listeners/timing.py
@@ -17,10 +17,10 @@
from __future__ import absolute_import
import itertools
-import logging
from taskflow import exceptions as exc
from taskflow.listeners import base
+from taskflow import logging
from taskflow import states
from taskflow.types import timing as tt