From bf51803307440319c92904bbc3a8f3c098d84587 Mon Sep 17 00:00:00 2001 From: Ben Allan Date: Thu, 31 Aug 2017 09:49:51 -0600 Subject: [PATCH 1/2] most zap log messages are not critical. default to warning. --- ldms/src/ldmsd/ldmsd.c | 4 ++-- ldms/src/ldmsd/ldmsd_prdcr.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ldms/src/ldmsd/ldmsd.c b/ldms/src/ldmsd/ldmsd.c index b3e3481b0..12e74a66f 100644 --- a/ldms/src/ldmsd/ldmsd.c +++ b/ldms/src/ldmsd/ldmsd.c @@ -1040,10 +1040,10 @@ void listen_on_transport(char *xprt_str, char *port_str) else port_no = atoi(port_str); #if OVIS_LIB_HAVE_AUTH - l = ldms_xprt_with_auth_new(xprt_str, ldmsd_lcritical, + l = ldms_xprt_with_auth_new(xprt_str, ldmsd_lwarning, secretword); #else - l = ldms_xprt_new(xprt_str, ldmsd_lcritical); + l = ldms_xprt_new(xprt_str, ldmsd_lwarning); #endif /* OVIS_LIB_HAVE_AUTH */ if (!l) { ldmsd_log(LDMSD_LERROR, "The transport specified, " diff --git a/ldms/src/ldmsd/ldmsd_prdcr.c b/ldms/src/ldmsd/ldmsd_prdcr.c index 4d50250c3..bfcccfc02 100644 --- a/ldms/src/ldmsd/ldmsd_prdcr.c +++ b/ldms/src/ldmsd/ldmsd_prdcr.c @@ -381,9 +381,9 @@ static void prdcr_connect(ldmsd_prdcr_t prdcr) prdcr->conn_state = LDMSD_PRDCR_STATE_CONNECTING; #if OVIS_LIB_HAVE_AUTH prdcr->xprt = ldms_xprt_with_auth_new(prdcr->xprt_name, - ldmsd_lcritical, ldmsd_secret_get()); + ldmsd_lwarning, ldmsd_secret_get()); #else - prdcr->xprt = ldms_xprt_new(prdcr->xprt_name, ldmsd_lcritical); + prdcr->xprt = ldms_xprt_new(prdcr->xprt_name, ldmsd_lwarning); #endif /* OVIS_LIB_HAVE_AUTH */ if (prdcr->xprt) { ret = ldms_xprt_connect(prdcr->xprt, From ad7998bb21a25aa2bf0746dacbe95dd3fc8e1447 Mon Sep 17 00:00:00 2001 From: Ben Allan Date: Thu, 31 Aug 2017 11:14:01 -0600 Subject: [PATCH 2/2] downgrading to info, as even warning is too loud. --- ldms/src/ldmsd/ldmsd.c | 4 ++-- ldms/src/ldmsd/ldmsd_prdcr.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ldms/src/ldmsd/ldmsd.c b/ldms/src/ldmsd/ldmsd.c index 12e74a66f..d087a885f 100644 --- a/ldms/src/ldmsd/ldmsd.c +++ b/ldms/src/ldmsd/ldmsd.c @@ -1040,10 +1040,10 @@ void listen_on_transport(char *xprt_str, char *port_str) else port_no = atoi(port_str); #if OVIS_LIB_HAVE_AUTH - l = ldms_xprt_with_auth_new(xprt_str, ldmsd_lwarning, + l = ldms_xprt_with_auth_new(xprt_str, ldmsd_linfo, secretword); #else - l = ldms_xprt_new(xprt_str, ldmsd_lwarning); + l = ldms_xprt_new(xprt_str, ldmsd_linfo); #endif /* OVIS_LIB_HAVE_AUTH */ if (!l) { ldmsd_log(LDMSD_LERROR, "The transport specified, " diff --git a/ldms/src/ldmsd/ldmsd_prdcr.c b/ldms/src/ldmsd/ldmsd_prdcr.c index bfcccfc02..da53dc50c 100644 --- a/ldms/src/ldmsd/ldmsd_prdcr.c +++ b/ldms/src/ldmsd/ldmsd_prdcr.c @@ -381,9 +381,9 @@ static void prdcr_connect(ldmsd_prdcr_t prdcr) prdcr->conn_state = LDMSD_PRDCR_STATE_CONNECTING; #if OVIS_LIB_HAVE_AUTH prdcr->xprt = ldms_xprt_with_auth_new(prdcr->xprt_name, - ldmsd_lwarning, ldmsd_secret_get()); + ldmsd_linfo, ldmsd_secret_get()); #else - prdcr->xprt = ldms_xprt_new(prdcr->xprt_name, ldmsd_lwarning); + prdcr->xprt = ldms_xprt_new(prdcr->xprt_name, ldmsd_linfo); #endif /* OVIS_LIB_HAVE_AUTH */ if (prdcr->xprt) { ret = ldms_xprt_connect(prdcr->xprt,