From fedc22b0e2231434e61ce12455bd39a04ccd4fa8 Mon Sep 17 00:00:00 2001 From: bagajjal Date: Tue, 20 Apr 2021 09:54:22 -0700 Subject: [PATCH] Updated Logging Facilities (markdown) --- Logging-Facilities.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Logging-Facilities.md b/Logging-Facilities.md index 7b34933..3edcbd5 100644 --- a/Logging-Facilities.md +++ b/Logging-Facilities.md @@ -18,8 +18,17 @@ File based logging option (useful for quickly collecting debug traces) can be tu `SyslogFacility LOCAL0 ` + `LogLevel Debug3 ` + Restart the sshd service after making changes to sshd_config. + + `net stop sshd` + + `net start sshd` + With this option, the logs would be collected at %programdata%\ssh\logs. + + sftp-server would follow similar semantics for logging (by default to ETW) and to files using the following as subsystem path in sshd_config: `sftp-server -f LOCAL0 -l DEBUG3`