ryu.log: change type of --use_syslog option to Boolean.
---------- $ ryu-manager --help (....) --use-syslog USE_SYSLOG output to syslog $ ryu-manager --use-syslog usage: ryu-manager [-h] [--version] [--verbose] [--noverbose] [--use-stderr] (....) ryu-manager: error: argument --use-syslog: expected one argument ---------- Signed-off-by: EisukeTAKAHASHI <takahashi.eisuke@po.ntts.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
71ef3d8a01
commit
99755c2123
@ -28,7 +28,7 @@ CONF.register_cli_opts([
|
||||
cfg.IntOpt('default-log-level', default=None, help='default log level'),
|
||||
cfg.BoolOpt('verbose', default=False, help='show debug output'),
|
||||
cfg.BoolOpt('use-stderr', default=True, help='log to standard error'),
|
||||
cfg.StrOpt('use-syslog', default=False, help='output to syslog'),
|
||||
cfg.BoolOpt('use-syslog', default=False, help='output to syslog'),
|
||||
cfg.StrOpt('log-dir', default=None, help='log file directory'),
|
||||
cfg.StrOpt('log-file', default=None, help='log file name'),
|
||||
cfg.StrOpt('log-file-mode', default='0644',
|
||||
|
Loading…
Reference in New Issue
Block a user