aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2020-04-29 20:15:09 +0300
committerSergey Poznyakoff <gray@gnu.org>2020-04-29 20:15:09 +0300
commitfbd707fdc9ff7a4450fd3182994959758fe402ec (patch)
tree5de27c5138f06a1a76b7377acce782a6b182c480
parent8196b4281500ef4f6e0cba4ff1f20f6d41e92f17 (diff)
downloadwydawca-fbd707fdc9ff7a4450fd3182994959758fe402ec.tar.gz
wydawca-fbd707fdc9ff7a4450fd3182994959758fe402ec.tar.bz2
Change the default log facility to daemon
-rw-r--r--NEWS2
-rw-r--r--doc/wydawca.texi2
-rw-r--r--src/wydawca.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 2778180..8a18cdf 100644
--- a/NEWS
+++ b/NEWS
@@ -46,6 +46,8 @@ spool simultaneously lock files were used.
This version does not allow for such usage. Only one copy of wydawca
can be running. Therefore spool locking has been discontinued.
+* Default log facility changed to "daemon"
+
* Command line usage
** The --single-process option removed
diff --git a/doc/wydawca.texi b/doc/wydawca.texi
index ddfcca9..0477147 100644
--- a/doc/wydawca.texi
+++ b/doc/wydawca.texi
@@ -1196,7 +1196,7 @@ and @samp{deny-syslog-priority} statements are: @samp{emerg},
Unless told otherwise, @command{wydawca} uses @code{syslog} to print
its diagnostic messages. By default, the program uses the
-@samp{local1} facility. The @code{syslog} statement allows to change that:
+@samp{daemon} facility. The @code{syslog} statement allows to change that:
@deffn {Config} syslog @{ ... @}
@smallexample
diff --git a/src/wydawca.c b/src/wydawca.c
index 2e9c952..dbbda11 100644
--- a/src/wydawca.c
+++ b/src/wydawca.c
@@ -29,7 +29,7 @@ const char *wy_version = "wydawca (" PACKAGE_STRING ")";
int wy_debug_level;
int wy_dry_run;
int wy_log_to_stderr = -1; /* -1 means autodetect */
-int wy_log_facility = LOG_LOCAL1;
+int wy_log_facility = LOG_DAEMON;
char *wy_syslog_tag = "wydawca";
int syslog_include_prio; /* syslog messages include priority */
unsigned long print_stats; /* Print final statistics output */

Return to:

Send suggestions and report system problems to the System administrator.