01.03.2016 18:31, Lars Ellenberg wrote:
If it helps...
It does.
I guess every dropped line of log noise is a good line ;)
:)
On Mon, Feb 29, 2016 at 03:10:36PM +0000, Vladislav Bogdanov wrote:Feb 29 11:26:08 node1 crmd[1649]: notice: node1-storage-drbd_monitor_10000:292 [ \n ] Feb 29 11:36:22 node1 crmd[1649]: notice: node1-storage-drbd_monitor_10000:292 [ \n ] Feb 29 11:36:22 node1 crmd[1649]: notice: node1-storage-drbd_monitor_10000:398 [ \n ] Feb 29 11:55:32 node1 crmd[1649]: notice: node1-storage-drbd_monitor_10000:398 [ \n ] Feb 29 12:31:42 node1 crmd[1583]: notice: node1-storage-drbd_monitor_10000:291 [ \n ] Feb 29 12:41:48 node1 crmd[1583]: notice: node1-storage-drbd_monitor_10000:291 [ \n ] Feb 29 12:41:48 node1 crmd[1583]: notice: node1-storage-drbd_monitor_10000:381 [ \n ] --- scripts/drbd.ocf | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/drbd.ocf b/scripts/drbd.ocf index 5c87d32..b6e865f 100755 --- a/scripts/drbd.ocf +++ b/scripts/drbd.ocf @@ -294,7 +294,7 @@ do_cmd() { ocf_log debug "$DRBD_RESOURCE: Command output: $cmd_out" fi - echo "$cmd_out" + [ -n "$cmd_out" ] && echo "$cmd_out" return $ret } -- 1.7.1 _______________________________________________ drbd-user mailing list [email protected] http://lists.linbit.com/mailman/listinfo/drbd-user
_______________________________________________ drbd-user mailing list [email protected] http://lists.linbit.com/mailman/listinfo/drbd-user
