diff options
author | djm@openbsd.org <djm@openbsd.org> | 2020-10-16 15:26:13 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2020-10-16 15:43:17 +0200 |
commit | 793b583d097381730adaf6f68bed3c343139a013 (patch) | |
tree | 37026343eaf098e281b54fe0d0b632b348585ba7 /monitor_wrap.c | |
parent | upstream: revised log infrastructure for OpenSSH (diff) | |
download | openssh-793b583d097381730adaf6f68bed3c343139a013.tar.xz openssh-793b583d097381730adaf6f68bed3c343139a013.zip |
upstream: LogVerbose keyword for ssh and sshd
Allows forcing maximum debug logging by file/function/line pattern-
lists.
ok markus@
OpenBSD-Commit-ID: c294c25732d1b4fe7e345cb3e044df00531a6356
Diffstat (limited to 'monitor_wrap.c')
-rw-r--r-- | monitor_wrap.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/monitor_wrap.c b/monitor_wrap.c index c18ee1819..b425cab10 100644 --- a/monitor_wrap.c +++ b/monitor_wrap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: monitor_wrap.c,v 1.119 2020/10/16 13:24:45 djm Exp $ */ +/* $OpenBSD: monitor_wrap.c,v 1.120 2020/10/16 13:26:13 djm Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * Copyright 2002 Markus Friedl <markus@openbsd.org> @@ -332,6 +332,9 @@ out: copy_set_server_options(&options, newopts, 1); log_change_level(options.log_level); + log_verbose_reset(); + for (i = 0; i < options.num_log_verbose; i++) + log_verbose_add(options.log_verbose[i]); process_permitopen(ssh, &options); free(newopts); |