Accepting request 234374 from home:heinemannj66:rsyslog
~ action is deprecated rsyslogd-2307: warning: ~ action is deprecated, consider using the 'stop' statement instead [try http://www.rsyslog.com/e/2307 ] OBS-URL: https://build.opensuse.org/request/show/234374 OBS-URL: https://build.opensuse.org/package/show/Base:System/rsyslog?expand=0&rev=185
This commit is contained in:
parent
b472c23ce1
commit
d9687fb3ac
@ -75,8 +75,10 @@ if ( \
|
|||||||
($syslogseverity <= 3 /* errors */ ) and not \
|
($syslogseverity <= 3 /* errors */ ) and not \
|
||||||
($syslogfacility-text == 'authpriv') \
|
($syslogfacility-text == 'authpriv') \
|
||||||
) \
|
) \
|
||||||
then /dev/tty10
|
then {
|
||||||
& |/dev/xconsole
|
/dev/tty10
|
||||||
|
|/dev/xconsole
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# Emergency messages to everyone logged on (wall)
|
# Emergency messages to everyone logged on (wall)
|
||||||
@ -92,8 +94,10 @@ then /dev/tty10
|
|||||||
#
|
#
|
||||||
if ($syslogfacility-text == 'kern') and \
|
if ($syslogfacility-text == 'kern') and \
|
||||||
($msg contains 'IN=' and $msg contains 'OUT=') \
|
($msg contains 'IN=' and $msg contains 'OUT=') \
|
||||||
then -/var/log/firewall
|
then {
|
||||||
& stop
|
-/var/log/firewall
|
||||||
|
stop
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -106,8 +110,10 @@ then -/var/log/firewall
|
|||||||
# => up to notice (skip info and debug)
|
# => up to notice (skip info and debug)
|
||||||
if ($programname == 'acpid' or $syslogtag == '[acpid]:') and \
|
if ($programname == 'acpid' or $syslogtag == '[acpid]:') and \
|
||||||
($syslogseverity <= 5 /* notice */) \
|
($syslogseverity <= 5 /* notice */) \
|
||||||
then -/var/log/acpid
|
then {
|
||||||
& stop
|
-/var/log/acpid
|
||||||
|
stop
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -115,8 +121,10 @@ then -/var/log/acpid
|
|||||||
#
|
#
|
||||||
if ($programname == 'NetworkManager') or \
|
if ($programname == 'NetworkManager') or \
|
||||||
($programname startswith 'nm-') \
|
($programname startswith 'nm-') \
|
||||||
then -/var/log/NetworkManager
|
then {
|
||||||
& stop
|
-/var/log/NetworkManager
|
||||||
|
stop
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user