- Added rsyslogd to the list of daemons in SYSLOG_DAEMON variable
meta-data in sysconfig/syslog file, updated syslog.8 man page, improved rsyslogd native mode usage in the syslog init-script. OBS-URL: https://build.opensuse.org/package/show/Base:System/syslogd?expand=0&rev=7
This commit is contained in:
parent
09b0b2910c
commit
44ea97b2dc
@ -45,7 +45,8 @@ case "$SYSLOG_DAEMON" in
|
|||||||
else
|
else
|
||||||
config=/etc/rsyslog.conf
|
config=/etc/rsyslog.conf
|
||||||
fi
|
fi
|
||||||
params="-c ${RSYSLOGD_COMPAT_VERSION:=3} -f $config $RSYSLOGD_PARAMS"
|
compat=${RSYSLOGD_COMPAT_VERSION:-${RSYSLOGD_NATIVE_VERSION}}
|
||||||
|
params="-c ${compat:-3} -f $config $RSYSLOGD_PARAMS"
|
||||||
rsocks="/var/run/rsyslog/additional-log-sockets.conf"
|
rsocks="/var/run/rsyslog/additional-log-sockets.conf"
|
||||||
test -r "$config" && \
|
test -r "$config" && \
|
||||||
while read one two rest ; do
|
while read one two rest ; do
|
||||||
|
@ -29,12 +29,12 @@ SYSLOGD_PARAMS=""
|
|||||||
#
|
#
|
||||||
KLOGD_PARAMS="-x"
|
KLOGD_PARAMS="-x"
|
||||||
|
|
||||||
## Type: list(syslogd,syslog-ng,"")
|
## Type: list(syslogd,syslog-ng,rsyslogd,"")
|
||||||
## Default: ""
|
## Default: ""
|
||||||
## Config: ""
|
## Config: ""
|
||||||
## ServiceRestart: syslog
|
## ServiceRestart: syslog
|
||||||
#
|
#
|
||||||
# The name of the syslog daemon to use as syslog service:
|
# The name of the syslog daemon to use as syslog service:
|
||||||
# "syslogd", "syslog-ng" or "" for autodetect.
|
# "syslogd", "syslog-ng", "rsyslogd" or "" for autodetect.
|
||||||
#
|
#
|
||||||
SYSLOG_DAEMON=""
|
SYSLOG_DAEMON=""
|
||||||
|
16
syslog.8
16
syslog.8
@ -10,9 +10,15 @@ supported as the system's syslog service, currently
|
|||||||
.IR syslogd ,
|
.IR syslogd ,
|
||||||
.IR syslog-ng \ and
|
.IR syslog-ng \ and
|
||||||
.IR rsyslogd
|
.IR rsyslogd
|
||||||
By default
|
|
||||||
.IR syslog-ng
|
The first installed daemon activates itself for the
|
||||||
is installed and enabled.
|
syslog service. Starting with openSUSE-11.2,
|
||||||
|
it is
|
||||||
|
.IR rsyslogd ,
|
||||||
|
before it was
|
||||||
|
.IR syslog-ng .
|
||||||
|
But this depends on the software selection during
|
||||||
|
the installation.
|
||||||
|
|
||||||
The name of the daemon used as syslog service is
|
The name of the daemon used as syslog service is
|
||||||
specified in the
|
specified in the
|
||||||
@ -21,6 +27,10 @@ specified in the
|
|||||||
variable in
|
variable in
|
||||||
.BR /etc/sysconfig/syslog .
|
.BR /etc/sysconfig/syslog .
|
||||||
|
|
||||||
|
The \fIyast2 sysconfig\fR module provides a comfortable
|
||||||
|
way to switch to another installed daemon and restart
|
||||||
|
the service.
|
||||||
|
|
||||||
The
|
The
|
||||||
.BR /etc/init.d/syslog
|
.BR /etc/init.d/syslog
|
||||||
init script is able to handle all supported daemons.
|
init script is able to handle all supported daemons.
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 9 21:47:47 CEST 2009 - mt@suse.de
|
||||||
|
|
||||||
|
- Added rsyslogd to the list of daemons in SYSLOG_DAEMON variable
|
||||||
|
meta-data in sysconfig/syslog file, updated syslog.8 man page,
|
||||||
|
improved rsyslogd native mode usage in the syslog init-script.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 11 23:47:12 CEST 2009 - jeffm@suse.de
|
Tue Aug 11 23:47:12 CEST 2009 - jeffm@suse.de
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user