From: Martin Schwenke Date: Thu, 30 Aug 2018 23:34:12 +0000 (+1000) Subject: ctdb-common: Log a message when an invalid conf value is encountered X-Git-Tag: tdb-1.3.17~1895 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a017d3181ac1062b66ae506a8a523f7455630fce;p=thirdparty%2Fsamba.git ctdb-common: Log a message when an invalid conf value is encountered BUG: https://bugzilla.samba.org/show_bug.cgi?id=13589 Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/common/conf.c b/ctdb/common/conf.c index cd1fa4acd2b..f673c61fa8d 100644 --- a/ctdb/common/conf.c +++ b/ctdb/common/conf.c @@ -1135,6 +1135,10 @@ static bool conf_load_option(const char *name, value.type = opt->type; ret = conf_value_from_string(tmp_ctx, value_str, &value); if (ret != 0) { + D_ERR("conf: invalid value [%s] -> \"%s\" = \"%s\"\n", + state->s->name, + name, + value_str); talloc_free(tmp_ctx); state->err = ret; return false;