[rabbitmq-discuss] [PATCH 09 of 10] OCF resource agent: log debug messages on status
Florian Haas
florian.haas at linbit.com
Tue May 11 18:09:46 BST 2010
# HG changeset patch
# User Florian Haas <florian.haas at linbit.com>
# Date 1273594852 -7200
# Node ID d3688173161f9cbaf4010258ca3bce8d3fb7d5ec
# Parent c038772a3687102366ae5d54c39c754f3aedbab8
OCF resource agent: log debug messages on status
Log simple debug messages when the resource is running, or has been
stopped gracefully.
diff -r c038772a3687 -r d3688173161f packaging/common/rabbitmq-server.ocf
--- a/packaging/common/rabbitmq-server.ocf Tue May 11 18:12:29 2010 +0200
+++ b/packaging/common/rabbitmq-server.ocf Tue May 11 18:20:52 2010 +0200
@@ -246,9 +246,11 @@
rc=$?
case "$rc" in
0)
+ ocf_log debug "RabbitMQ server is running normally"
return $OCF_SUCCESS
;;
2)
+ ocf_log debug "RabbitMQ server is not running"
return $OCF_NOT_RUNNING
;;
*)
More information about the rabbitmq-discuss
mailing list