From 06b1340626271defe9314ead2178d6037f2e3b31 Mon Sep 17 00:00:00 2001 From: Julien Muchembled Date: Wed, 8 Jul 2015 17:34:07 +0200 Subject: [PATCH] Document the levels of --verbose option --- re6st/cli/node.py | 4 ++-- re6st/cli/registry.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/re6st/cli/node.py b/re6st/cli/node.py index 8ff8120..10a2b28 100755 --- a/re6st/cli/node.py +++ b/re6st/cli/node.py @@ -37,8 +37,8 @@ def getConfig(): "- cache.db: cache of network parameters and peer addresses\n" "- babeld.state: see option -S of babeld\n") _('-v', '--verbose', default=1, type=int, metavar='LEVEL', - help="Log level of re6stnet itself. 0 disables logging." - " Use SIGUSR1 to reopen log." + help="Log level of re6stnet itself. 0 disables logging. 1=WARNING," + " 2=INFO, 3=DEBUG, 4=TRACE. Use SIGUSR1 to reopen log." " See also --babel-verb and --verb for logs of spawned processes.") _('-i', '--interface', action='append', dest='iface_list', default=[], help="Extra interface for LAN discovery. Highly recommanded if there" diff --git a/re6st/cli/registry.py b/re6st/cli/registry.py index 518e6c7..65ca2a0 100755 --- a/re6st/cli/registry.py +++ b/re6st/cli/registry.py @@ -94,8 +94,8 @@ def main(): help="Path to re6stnet runtime directory:\n" "- babeld.sock (option -R of babeld)\n") _('-v', '--verbose', default=1, type=int, - help="Log level. 0 disables logging." - " Use SIGUSR1 to reopen log.") + help="Log level. 0 disables logging. 1=WARNING, 2=INFO," + " 3=DEBUG, 4=TRACE. Use SIGUSR1 to reopen log.") _('--min-protocol', default=version.min_protocol, type=int, help="Reject nodes that are too old. Current is %s." % version.protocol) -- 2.25.1