summaryrefslogtreecommitdiff
path: root/src/leap/app.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-08-06 02:45:41 +0200
committerKali Kaneko <kali@leap.se>2013-08-07 11:52:25 +0200
commit03ebed92556e965d5bc39b256e77cf9cf18fb11b (patch)
tree4b95e65095870743efed1213119a83c64240e4d9 /src/leap/app.py
parentd6bf9b3e11ff87488a5f508acebf8f20ad026166 (diff)
Allow to change openvpn verbosity in logs
Diffstat (limited to 'src/leap/app.py')
-rw-r--r--src/leap/app.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/leap/app.py b/src/leap/app.py
index 6ba27813..34eac6dc 100644
--- a/src/leap/app.py
+++ b/src/leap/app.py
@@ -142,6 +142,7 @@ def main():
bypass_checks = getattr(opts, 'danger', False)
debug = opts.debug
logfile = opts.log_file
+ openvpn_verb = opts.openvpn_verb
logger = add_logger_handlers(debug, logfile)
replace_stdout_stderr_with_logging(logger)
@@ -202,6 +203,7 @@ def main():
window = MainWindow(
lambda: twisted_main.quit(app),
standalone=standalone,
+ openvpn_verb=openvpn_verb,
bypass_checks=bypass_checks)
sigint_window = partial(sigint_handler, window, logger=logger)