From 1ccd6454844905e44487ba4386b4b0e6ac66c13b Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Tue, 17 Mar 2015 15:18:48 -0400 Subject: [PATCH] Move logging to tr_internal --- common/tr_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/tr_config.c b/common/tr_config.c index 51999c4..cc352a0 100644 --- a/common/tr_config.c +++ b/common/tr_config.c @@ -120,7 +120,7 @@ static TR_CFG_RC tr_cfg_parse_internal (TR_CFG *trc, json_t *jcfg) { } } - if (NULL != (jlog = json_object_get(jcfg, "logging"))) { + if (NULL != (jlog = json_object_get(jint, "logging"))) { if (NULL != (jlogthres = json_object_get(jlog, "log_threshold"))) { if (json_is_string(jlogthres)) { trc->internal->log_threshold = str2sev(json_string_value(jlogthres)); -- 2.1.4