Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
ryu/app/cli.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/ryu/app/cli.py b/ryu/app/cli.py
index 8bdf1dd..36df047 100644
--- a/ryu/app/cli.py
+++ b/ryu/app/cli.py
@@ -91,6 +91,12 @@ class CliCmd(cmd.Cmd):
return
print('logger %s level %s -> %s' % (name, oldlvl, newlvl))
+ def complete_set_log_level(self, text, line, begidx, endidx):
+ if len((line + "x").split()) >= 3:
+ return []
+ return [x for x in self.management.list_loggers()
+ if x.startswith(text)]
+
@command_log
def do_show_bricks(self, params):
'''
--
1.8.0.1
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel