Hello community, here is the log from the commit of package corosync for openSUSE:Factory checked in at 2017-03-03 14:38:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/corosync (Old) and /work/SRC/openSUSE:Factory/.corosync.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "corosync" Fri Mar 3 14:38:23 2017 rev:34 rq:461232 version:2.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/corosync/corosync.changes 2016-12-09 09:31:43.451747433 +0100 +++ /work/SRC/openSUSE:Factory/.corosync.new/corosync.changes 2017-03-03 14:38:50.437885807 +0100 @@ -1,0 +2,7 @@ +Tue Feb 28 04:52:04 UTC 2017 - b...@suse.com + +- L3-Question: corosync logging priority takes no effect(bsc#1023959) + added: + 0001-Logsys-Change-logsys-syslog_priority-priority.patch + +------------------------------------------------------------------- New: ---- 0001-Logsys-Change-logsys-syslog_priority-priority.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ corosync.spec ++++++ --- /var/tmp/diff_new_pack.KFy4RL/_old 2017-03-03 14:38:51.017803709 +0100 +++ /var/tmp/diff_new_pack.KFy4RL/_new 2017-03-03 14:38:51.021803143 +0100 @@ -1,7 +1,7 @@ # # spec file for package corosync # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -60,6 +60,7 @@ Patch6: bsc#1001164-corosync.conf-example.patch Patch7: corosync-start-stop-level.patch Patch8: disable-build-html-docs.patch +Patch9: 0001-Logsys-Change-logsys-syslog_priority-priority.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build # openais is indeed gone and should be uninstalled. Yes, we do not @@ -127,6 +128,7 @@ %patch6 -p1 %patch7 -p1 %patch8 -p1 +%patch9 -p1 %build %if %{with_runautogen} ++++++ 0001-Logsys-Change-logsys-syslog_priority-priority.patch ++++++ >From 8b6bd86a55b8bda9f3a8ff67bdff908263976fa3 Mon Sep 17 00:00:00 2001 From: Jan Friesse <jfrie...@redhat.com> Date: Fri, 24 Feb 2017 16:23:50 +0100 Subject: [PATCH] Logsys: Change logsys syslog_priority priority LibQB adds default "*" syslog filter so we have to set syslog_priority as low as possible so filters applied later in _logsys_config_apply_per_file takes effect. Signed-off-by: Jan Friesse <jfrie...@redhat.com> --- exec/main.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/exec/main.c b/exec/main.c index 61bcd3d..2370a86 100644 --- a/exec/main.c +++ b/exec/main.c @@ -127,10 +127,15 @@ #define IPC_LOGSYS_SIZE 8192*128 #endif +/* + * LibQB adds default "*" syslog filter so we have to set syslog_priority as low + * as possible so filters applied later in _logsys_config_apply_per_file takes + * effect. + */ LOGSYS_DECLARE_SYSTEM ("corosync", LOGSYS_MODE_OUTPUT_STDERR | LOGSYS_MODE_OUTPUT_SYSLOG, LOG_DAEMON, - LOG_INFO); + LOG_EMERG); LOGSYS_DECLARE_SUBSYS ("MAIN"); -- 2.6.6