diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ryu-manager | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/bin/ryu-manager b/bin/ryu-manager index 61df86c6..ef8355b1 100755 --- a/bin/ryu-manager +++ b/bin/ryu-manager @@ -24,9 +24,8 @@ from gevent import monkey monkey.patch_all() from ryu import log -log.earlyInitLog(logging.DEBUG) +log.early_init_log(logging.DEBUG) -from ryu import flags from ryu import utils from ryu.app import wsapi from ryu.base.app_manager import AppManager @@ -46,10 +45,10 @@ gflags.DEFINE_multistring('app_lists', def main(): utils.find_flagfile() - args = FLAGS(sys.argv) - log.initLog() + _args = FLAGS(sys.argv) + log.init_log() - nw = network.network() + nw = network.Network() dpset_ = dpset.create_dpset() app_mgr = AppManager() |