cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: lhh@sourceware.org <lhh@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/rgmanager ChangeLog src/resources/clus ...
Date: 19 Apr 2007 19:54:35 -0000	[thread overview]
Message-ID: <20070419195435.14638.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	lhh at sourceware.org	2007-04-19 20:54:35

Modified files:
	rgmanager      : ChangeLog 
	rgmanager/src/resources: clusterfs.sh 

Log message:
	Apply patch from Simone Gotti to fix logging errors in clusterfs.sh

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/ChangeLog.diff?cvsroot=cluster&r1=1.34&r2=1.35
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/clusterfs.sh.diff?cvsroot=cluster&r1=1.17&r2=1.18

--- cluster/rgmanager/ChangeLog	2007/04/19 17:59:36	1.34
+++ cluster/rgmanager/ChangeLog	2007/04/19 19:54:35	1.35
@@ -3,6 +3,8 @@
 	Mirkin to fix bug #237144; prevents exclusive services from
 	being accidentally (or intentionally) being started on the
 	same node
+	* src/resources/clusterfs.sh: Apply patch from Simone
+	Gotti to fix logging errors in clusterfs.sh
 
 2007-04-12 Lon Hohberger <lhh@redhat.com>
 	* src/daemons/main.c: Fix watchdog race condition causing
--- cluster/rgmanager/src/resources/clusterfs.sh	2007/04/05 15:08:20	1.17
+++ cluster/rgmanager/src/resources/clusterfs.sh	2007/04/19 19:54:35	1.18
@@ -357,7 +357,7 @@
 	typeset junk
 
 	if [ $# -ne 2 ]; then
-		logAndPrint $LOG_ERR "Usage: mountInUse device mount_point".
+		ocf_log err "Usage: mountInUse device mount_point".
 		return $FAIL
 	fi
 
@@ -435,14 +435,14 @@
 	declare rw
 	
 	if [ $# -ne 1 ]; then
-	        logAndPrint $LOG_ERR "Usage: isAlive mount_point"
+	        ocf_log err "Usage: isAlive mount_point"
 		return $FAIL
 	fi
 	mount_point=$1
 	
 	test -d $mount_point
 	if [ $? -ne 0 ]; then
-		logAndPrint $LOG_ERR "$mount_point is not a directory"
+		ocf_log err "$mount_point is not a directory"
 		return $FAIL
 	fi
 	
@@ -729,7 +729,7 @@
 	#
 	# Mount the device
 	#
-	logAndPrint $LOG_DEBUG "mount $fstype_option $mount_options $dev $mp"
+	ocf_log debug "mount $fstype_option $mount_options $dev $mp"
 	mount $fstype_option $mount_options $dev $mp
 	ret_val=$?
 	if [ $ret_val -ne 0 ]; then



             reply	other threads:[~2007-04-19 19:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-19 19:54 lhh [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-11-30 20:06 [Cluster-devel] cluster/rgmanager ChangeLog src/resources/clus lhh
2007-09-25 13:23 lhh
2007-04-19 19:53 lhh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070419195435.14638.qmail@sourceware.org \
    --to=lhh@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).