version 1.451, 2017/03/10 04:07:20 |
version 1.452, 2017/04/28 03:20:27 |
|
|
if (logfile != NULL) |
if (logfile != NULL) |
log_redirect_stderr_to(logfile); |
log_redirect_stderr_to(logfile); |
log_init(argv0, |
log_init(argv0, |
options.log_level == -1 ? SYSLOG_LEVEL_INFO : options.log_level, |
options.log_level == SYSLOG_LEVEL_NOT_SET ? |
SYSLOG_FACILITY_USER, !use_syslog); |
SYSLOG_LEVEL_INFO : options.log_level, |
|
options.log_facility == SYSLOG_FACILITY_NOT_SET ? |
|
SYSLOG_FACILITY_USER : options.log_facility, |
|
!use_syslog); |
|
|
if (debug_flag) |
if (debug_flag) |
logit("%s, %s", SSH_VERSION, |
logit("%s, %s", SSH_VERSION, |
|
|
options.use_privileged_port = 0; |
options.use_privileged_port = 0; |
|
|
/* reinit */ |
/* reinit */ |
log_init(argv0, options.log_level, SYSLOG_FACILITY_USER, !use_syslog); |
log_init(argv0, options.log_level, options.log_facility, !use_syslog); |
|
|
if (options.request_tty == REQUEST_TTY_YES || |
if (options.request_tty == REQUEST_TTY_YES || |
options.request_tty == REQUEST_TTY_FORCE) |
options.request_tty == REQUEST_TTY_FORCE) |