parser json BUGFIX avoid logging a data node twice
diff --git a/src/parser_json.c b/src/parser_json.c
index 8e312e0..cd3d9a7 100644
--- a/src/parser_json.c
+++ b/src/parser_json.c
@@ -252,8 +252,6 @@
*snode = NULL;
*ext = NULL;
- LOG_LOCSET(NULL, parent, NULL, NULL);
-
/* get the element module, prefer parent context because of extensions */
if (prefix_len) {
mod = ly_ctx_get_module_implemented2(parent ? LYD_CTX(parent) : lydctx->jsonctx->ctx, prefix, prefix_len);
@@ -343,7 +341,6 @@
}
cleanup:
- LOG_LOCBACK(0, parent ? 1 : 0, 0, 0);
return ret;
}