diff options
author | 2020-10-16 13:26:13 +0000 | |
---|---|---|
committer | 2020-10-16 13:26:13 +0000 | |
commit | 7e9258b619e489c6f0fefc868d4051d152306a2c (patch) | |
tree | 6d23238a138a33923dfdc75444700e7085a0c6b2 /usr.bin/ssh/ssh.c | |
parent | revised log infrastructure for OpenSSH (diff) | |
download | wireguard-openbsd-7e9258b619e489c6f0fefc868d4051d152306a2c.tar.xz wireguard-openbsd-7e9258b619e489c6f0fefc868d4051d152306a2c.zip |
LogVerbose keyword for ssh and sshd
Allows forcing maximum debug logging by file/function/line pattern-
lists.
ok markus@
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r-- | usr.bin/ssh/ssh.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c index 52d7ac3b145..cc98554274c 100644 --- a/usr.bin/ssh/ssh.c +++ b/usr.bin/ssh/ssh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh.c,v 1.538 2020/10/12 08:36:36 kn Exp $ */ +/* $OpenBSD: ssh.c,v 1.539 2020/10/16 13:26:13 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -1334,6 +1334,8 @@ main(int ac, char **av) /* reinit */ log_init(argv0, options.log_level, options.log_facility, !use_syslog); + for (j = 0; j < options.num_log_verbose; j++) + log_verbose_add(options.log_verbose[j]); if (options.request_tty == REQUEST_TTY_YES || options.request_tty == REQUEST_TTY_FORCE) |