schema compile CHANGE remove possibly false-positive warnings
Changed to verbose messages.
diff --git a/src/schema_compile_node.c b/src/schema_compile_node.c
index d34b46d..c022261 100644
--- a/src/schema_compile_node.c
+++ b/src/schema_compile_node.c
@@ -2420,7 +2420,7 @@
/* list ordering */
if (node->nodetype & (LYS_LIST | LYS_LEAFLIST)) {
if ((node->flags & (LYS_CONFIG_R | LYS_IS_OUTPUT | LYS_IS_NOTIF)) && (node->flags & LYS_ORDBY_MASK)) {
- LOGWRN(ctx->ctx, "The ordered-by statement is ignored in lists representing %s (%s).",
+ LOGVRB("The ordered-by statement is ignored in lists representing %s (%s).",
(node->flags & LYS_IS_OUTPUT) ? "RPC/action output parameters" :
(ctx->options & LYS_IS_NOTIF) ? "notification content" : "state data", ctx->path);
node->flags &= ~LYS_ORDBY_MASK;
@@ -3363,7 +3363,7 @@
}
if (any->flags & LYS_CONFIG_W) {
- LOGWRN(ctx->ctx, "Use of %s to define configuration data is not recommended. %s",
+ LOGVRB("Use of %s to define configuration data is not recommended. %s",
ly_stmt2str(any->nodetype == LYS_ANYDATA ? LY_STMT_ANYDATA : LY_STMT_ANYXML), ctx->path);
}
done: