Signed-off-by: YAMAMOTO Takashi <yamam...@valinux.co.jp> --- ryu/app/cli.py | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/ryu/app/cli.py b/ryu/app/cli.py index 22a515b..03c61b5 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_mar _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel