|
Lines 915-926
Link Here
|
| 915 |
* Force logging to stderr until we have loaded the private host |
915 |
* Force logging to stderr until we have loaded the private host |
| 916 |
* key (unless started from inetd) |
916 |
* key (unless started from inetd) |
| 917 |
*/ |
917 |
*/ |
|
|
918 |
if (debug_flag && !inetd_flag) |
| 919 |
log_stderr = 1; |
| 918 |
log_init(__progname, |
920 |
log_init(__progname, |
| 919 |
options.log_level == SYSLOG_LEVEL_NOT_SET ? |
921 |
options.log_level == SYSLOG_LEVEL_NOT_SET ? |
| 920 |
SYSLOG_LEVEL_INFO : options.log_level, |
922 |
SYSLOG_LEVEL_INFO : options.log_level, |
| 921 |
options.log_facility == SYSLOG_FACILITY_NOT_SET ? |
923 |
options.log_facility == SYSLOG_FACILITY_NOT_SET ? |
| 922 |
SYSLOG_FACILITY_AUTH : options.log_facility, |
924 |
SYSLOG_FACILITY_AUTH : options.log_facility, |
| 923 |
!inetd_flag); |
925 |
log_stderr); |
| 924 |
|
926 |
|
| 925 |
/* Read server configuration options from the configuration file. */ |
927 |
/* Read server configuration options from the configuration file. */ |
| 926 |
read_server_config(&options, config_file_name); |
928 |
read_server_config(&options, config_file_name); |
|
Lines 1027-1034
Link Here
|
| 1027 |
exit(0); |
1029 |
exit(0); |
| 1028 |
|
1030 |
|
| 1029 |
/* Initialize the log (it is reinitialized below in case we forked). */ |
1031 |
/* Initialize the log (it is reinitialized below in case we forked). */ |
| 1030 |
if (debug_flag && !inetd_flag) |
|
|
| 1031 |
log_stderr = 1; |
| 1032 |
log_init(__progname, options.log_level, options.log_facility, log_stderr); |
1032 |
log_init(__progname, options.log_level, options.log_facility, log_stderr); |
| 1033 |
|
1033 |
|
| 1034 |
/* |
1034 |
/* |