summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason Kölker <jason@koelker.net>2016-03-23 17:33:31 +0000
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-03-24 05:17:42 +0900
commite190549b76d713658327bc5add1738c54ceef3fa (patch)
tree991b6da4966b8555635ca80eabb6e4e9bfbe509a
parentc9a68a429df9dbab0d6e3bb150207ab980372c14 (diff)
protocols/ovsdb: Remove patched ovs.vlog
The upstream `ovs.vlog` plays nice with python logging. No need for the workaround. Signed-off-by: Jason Kölker <jason@koelker.net> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/services/protocols/ovsdb/client.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/ryu/services/protocols/ovsdb/client.py b/ryu/services/protocols/ovsdb/client.py
index 4a67dfd1..9b7917e4 100644
--- a/ryu/services/protocols/ovsdb/client.py
+++ b/ryu/services/protocols/ovsdb/client.py
@@ -15,24 +15,8 @@
import collections
import errno
-import logging
import uuid
-# NOTE(jkoelker) Patch Vlog so that is uses standard logging
-from ovs import vlog
-
-
-class Vlog(vlog.Vlog):
- def __init__(self, name):
- self.log = logging.getLogger('ovs.%s' % name)
-
- def __log(self, level, message, **kwargs):
- level = vlog.LEVELS.get(level, logging.DEBUG)
- self.log.log(level, message, **kwargs)
-
-vlog.Vlog = Vlog
-
-
from ovs import jsonrpc
from ovs import poller
from ovs import reconnect