Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
resource-agents.7401
0001-Medium-CTDB-Use-logging-syntax-for-ctdbd-b...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Medium-CTDB-Use-logging-syntax-for-ctdbd-bsc-981863.patch of Package resource-agents.7401
From 968f22a83ca96ab1ee2fc313f3daa93b7985c028 Mon Sep 17 00:00:00 2001 From: James McDonough <jmcdonough@suse.com> Date: Mon, 30 May 2016 13:10:10 +0200 Subject: [PATCH] Medium: CTDB: Use --logging syntax for ctdbd (bsc#981863) The --logfile parameter in ctdb has been replaced with --logging, which allows for file: or syslog:. --- heartbeat/CTDB | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/heartbeat/CTDB b/heartbeat/CTDB index 6cfff63..b2c0775 100755 --- a/heartbeat/CTDB +++ b/heartbeat/CTDB @@ -566,9 +566,9 @@ ctdb_start() { enable_event_scripts # Use logfile by default, or syslog if asked for - local log_option="--logfile=$OCF_RESKEY_ctdb_logfile" + local log_option="--logging=file:$OCF_RESKEY_ctdb_logfile" if [ "$OCF_RESKEY_ctdb_logfile" = "syslog" ]; then - log_option="--syslog" + log_option="--logging=syslog" elif [ ! -d "$(dirname $OCF_RESKEY_ctdb_logfile)" ]; then # ensure the logfile's directory exists, otherwise ctdb will fail to start mkdir -p $(dirname $OCF_RESKEY_ctdb_logfile) -- 2.8.3
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