diff --git a/stunnel/doc/stunnel.8.in b/stunnel/doc/stunnel.8.in index 2c6d03f..e2a5624 100644 --- a/stunnel/doc/stunnel.8.in +++ b/stunnel/doc/stunnel.8.in @@ -209,7 +209,7 @@ requested to do so by an stunnel developer, or when you intend to get confused. .Sp The default logging level is notice (5). .Sp -The syslog 'daemon' facility will be used unless a facility name is supplied. +The syslog 'authpriv' facility will be used unless a facility name is supplied. (Facilities are not supported on Win32.) .Sp Case is ignored for both facilities and levels. diff --git a/stunnel/doc/stunnel.html.in b/stunnel/doc/stunnel.html.in index 429e148..bfb1402 100644 --- a/stunnel/doc/stunnel.html.in +++ b/stunnel/doc/stunnel.html.in @@ -248,7 +248,7 @@

The default logging level is notice (5).

-

The syslog 'daemon' facility will be used unless a facility name is supplied. (Facilities are not supported on Win32.)

+

The syslog 'authpriv' facility will be used unless a facility name is supplied. (Facilities are not supported on Win32.)

Case is ignored for both facilities and levels.

diff --git a/stunnel/doc/stunnel.pod.in b/stunnel/doc/stunnel.pod.in index a4d84b9..ad908ee 100644 --- a/stunnel/doc/stunnel.pod.in +++ b/stunnel/doc/stunnel.pod.in @@ -197,7 +197,7 @@ requested to do so by an stunnel developer, or when you intend to get confused. The default logging level is notice (5). -The syslog 'daemon' facility will be used unless a facility name is supplied. +The syslog 'authpriv' facility will be used unless a facility name is supplied. (Facilities are not supported on Win32.) Case is ignored for both facilities and levels. diff --git a/stunnel/src/options.c b/stunnel/src/options.c index e1149a4..5e01dd5 100644 --- a/stunnel/src/options.c +++ b/stunnel/src/options.c @@ -1878,7 +1878,7 @@ NOEXPORT const char *parse_service_option(CMD cmd, SERVICE_OPTIONS **section_ptr case CMD_SET_DEFAULTS: section->log_level=LOG_NOTICE; #if !defined (USE_WIN32) && !defined (__vms) - new_global_options.log_facility=LOG_DAEMON; + new_global_options.log_facility=LOG_AUTHPRIV; #endif break; case CMD_SET_COPY: @@ -1894,14 +1894,14 @@ NOEXPORT const char *parse_service_option(CMD cmd, SERVICE_OPTIONS **section_ptr break; case CMD_PRINT_DEFAULTS: #if !defined (USE_WIN32) && !defined (__vms) - s_log(LOG_NOTICE, "%-22s = %s", "debug", "daemon.notice"); + s_log(LOG_NOTICE, "%-22s = %s", "debug", "authpriv.notice"); #else s_log(LOG_NOTICE, "%-22s = %s", "debug", "notice"); #endif break; case CMD_PRINT_HELP: #if !defined (USE_WIN32) && !defined (__vms) - s_log(LOG_NOTICE, "%-22s = [facility].level (e.g. daemon.info)", "debug"); + s_log(LOG_NOTICE, "%-22s = [facility].level (e.g. authpriv.info)", "debug"); #else s_log(LOG_NOTICE, "%-22s = level (e.g. info)", "debug"); #endif