Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
corosync
0001-Logsys-Change-logsys-syslog_priority-prior...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Logsys-Change-logsys-syslog_priority-priority.patch of Package corosync
From 8b6bd86a55b8bda9f3a8ff67bdff908263976fa3 Mon Sep 17 00:00:00 2001 From: Jan Friesse <jfriesse@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 <jfriesse@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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor