log UPDATE input logging cleared and updated
diff --git a/tests/utests/schema/test_yang.c b/tests/utests/schema/test_yang.c
index 4f11500..4ce4dc4 100644
--- a/tests/utests/schema/test_yang.c
+++ b/tests/utests/schema/test_yang.c
@@ -90,7 +90,7 @@
     /* initilize and use the global easily available and customizable input handler */
     in.line = 1;
     YCTX->in = ∈
-    LOG_LOCINIT(NULL, NULL, NULL, &in);
+    LOG_LOCSET(NULL, NULL, NULL, &in);
 
     fctx.ctx = PARSER_CTX(YCTX);
     fctx.mod = pmod->mod;