----- Original Message -----
From: "David Teigland" <teigland(a)fedoraproject.org>
To: sanlock-devel(a)lists.fedorahosted.org
Sent: Friday, September 12, 2014 10:17:52 PM
Subject: reset/sanlk_reset.c
reset/sanlk_reset.c | 105
++++++++++++++++++++++++++++++----------------------
1 file changed, 62 insertions(+), 43 deletions(-)
New commits:
commit 7c4d08493390c303c3bd9142ead71784a86fa378
Author: Nir Soffer <nsoffer(a)redhat.com>
Date: Fri Sep 12 14:14:24 2014 -0500
reset: Reduce logging noise to stderr and syslog
When reseting another host, we used to create lot of noise by logging
the result of any lockspace check every 2 seconds. This info is useless
for the user of this command, but may be valuable for debugging. So now
we log everything when using --debug-mode, and only state changes
otherwise.
Some log messages were too verbose and technical. Now log_debug messages
are verbose and technical, but log_info messages are trying to be user
friendly.
Previously we logged few messages per lockspace to syslog for each reset
operation. This is unwanted noise on a machine performing a reset,
specially when using 10's of lockspaces. Now only warning and errors
are logged to syslog. We assume that a program running this tool will
log its own logs if needed for each reset operation.
Signed-off-by: Nir Soffer <nsoffer(a)redhat.com>
David, I hope you tested this patch, since I did not have time to test it
yet :-)
Nir