summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2016-10-20 16:48:04 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-10-25 16:21:02 +0900
commit55dc1158b86d80f1f88c9dd7dd03204dd3b74417 (patch)
tree34c78ed8fd6ce6157a209d4ad5f76b14443a57f8
parent2ebb9218b2429b627f257d9db6e8ec7fac52c0cf (diff)
ovs/vsctl: Change log level of redundant messages
Currently, ovs.vsctl outputs the messages (e.g. just "unchanged" or "success") in the "info" log level for each transaction, but these messages are not meaningful for users. This patch changes the log level of these messages to "debug". Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/lib/ovs/vsctl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ryu/lib/ovs/vsctl.py b/ryu/lib/ovs/vsctl.py
index f5db402e..39e114ea 100644
--- a/ryu/lib/ovs/vsctl.py
+++ b/ryu/lib/ovs/vsctl.py
@@ -990,9 +990,9 @@ class VSCtl(object):
elif status == idl.Transaction.ABORTED:
vsctl_fatal('transaction aborted')
elif status == idl.Transaction.UNCHANGED:
- LOG.info('unchanged')
+ LOG.debug('unchanged')
elif status == idl.Transaction.SUCCESS:
- LOG.info('success')
+ LOG.debug('success')
elif status == idl.Transaction.TRY_AGAIN:
return False
elif status == idl.Transaction.ERROR: