]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Command-line options to log sessions.
authorSimon Tatham <anakin@pobox.com>
Thu, 24 Sep 2015 16:30:04 +0000 (17:30 +0100)
committerSimon Tatham <anakin@pobox.com>
Sat, 17 Oct 2015 16:33:31 +0000 (17:33 +0100)
commit31c5784d4b514becf0028f3b3d38d8e28305dad7
tree4d0adad37a22bc4dee32561760b784e294f30d76
parenta815c3a8e1855e20e458571376039d36c5810642
Command-line options to log sessions.

Log files, especially SSH packet logs, are often things you want to
generate in unusual circumstances, so it's good to have lots of ways
to ask for them. Particularly, it's especially painful to have to set
up a custom saved session to get diagnostics out of the command-line
tools.

I've added options '-sessionlog', '-sshlog' and '-sshrawlog', each of
which takes a filename argument. I think the fourth option (session
output but filtered down to the printable subset) is not really a
_debugging_ log in the same sense, so it's not as critical to have an
option for it.

(cherry picked from commit 13edf90e0a4397088085cfcd53a4311319b708b4)
cmdline.c