]> andersk Git - openssh.git/blobdiff - ssh.c
- markus@cvs.openbsd.org 2001/03/03 23:59:34
[openssh.git] / ssh.c
diff --git a/ssh.c b/ssh.c
index c76c7bb71f530e7c48c3f2146e867b0162927c50..a08ddf397e5ecbf1e55bef28271cdf256f5b7a89 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -39,7 +39,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: ssh.c,v 1.100 2001/03/01 22:46:37 markus Exp $");
+RCSID("$OpenBSD: ssh.c,v 1.101 2001/03/03 23:59:34 markus Exp $");
 
 #include <openssl/evp.h>
 #include <openssl/err.h>
@@ -556,9 +556,11 @@ main(int ac, char **av)
        /* Take a copy of the returned structure. */
        pw = pwcopy(pw);
 
-       /* Initialize "log" output.  Since we are the client all output
-          actually goes to the terminal. */
-       log_init(av[0], options.log_level, SYSLOG_FACILITY_USER, 0);
+       /*
+        * Initialize "log" output.  Since we are the client all output
+        * actually goes to stderr.
+        */
+       log_init(av[0], SYSLOG_LEVEL_INFO, SYSLOG_FACILITY_USER, 1);
 
        /* Read per-user configuration file. */
        snprintf(buf, sizeof buf, "%.100s/%.100s", pw->pw_dir, _PATH_SSH_USER_CONFFILE);
@@ -571,7 +573,7 @@ main(int ac, char **av)
        fill_default_options(&options);
 
        /* reinit */
-       log_init(av[0], options.log_level, SYSLOG_FACILITY_USER, 0);
+       log_init(av[0], options.log_level, SYSLOG_FACILITY_USER, 1);
 
        if (options.user == NULL)
                options.user = xstrdup(pw->pw_name);
This page took 0.403564 seconds and 4 git commands to generate.