File pacemaker-attrd-log-messages-clarity.patch of Package pacemaker.14737
commit e10299600e87356114dbb96df981c2ff196b8f9e
Author: Andrew Beekhof <andrew@beekhof.net>
Date: Fri Sep 22 19:51:35 2017 +1000
Log: attrd: Tweak log messages for clarity
diff --git a/attrd/commands.c b/attrd/commands.c
index 6f40d6098..96a11670d 100644
--- a/attrd/commands.c
+++ b/attrd/commands.c
@@ -670,12 +670,12 @@ attrd_peer_remove(const char *host, gboolean uncache, const char *source)
GHashTableIter aIter;
CRM_CHECK(host != NULL, return);
- crm_notice("Removing all %s attributes for %s", host, source);
+ crm_notice("Removing all %s attributes for peer %s", host, source);
g_hash_table_iter_init(&aIter, attributes);
while (g_hash_table_iter_next(&aIter, NULL, (gpointer *) & a)) {
if(g_hash_table_remove(a->values, host)) {
- crm_debug("Removed %s[%s] for %s", a->id, host, source);
+ crm_debug("Removed %s[%s] for peer %s", a->id, host, source);
}
}