|Main Archive Page > Month Archives > openssh-unix-dev archives|
On 05/10/2011 10:24 AM, Lee Hambley wrote:
> Good afternoon, I wanted to ask quickly about the rationale for not allowing
> explicit declaration of a log file to receive logging output. Whilst using
> syslogd is convenient for system processes, for short-lived applications,
> such as booting an SSH server (and wishing to monitor it) for testing
> purposesâ€¦ having to also configure syslogd to receive output is
You can use sshd's -e option to send logs to stderr, while mapping the
stderr file descriptor (fd 2) to whatever native file (or process) you like.
Does this solve your problem?
Note that if you plan to rotate your logs, you may need to restart sshd
at the appropriate time.
openssh-unix-dev mailing list