From 67220a115a86d1cb649cd164dfc20130fe175840 Mon Sep 17 00:00:00 2001 From: Merlin Beutlberger Date: Thu, 14 Mar 2024 11:43:55 +0100 Subject: [PATCH] fix(xml-transpiler): Log unknown namespaces as verbose instead of warning Ignoring them seems safe, so no warning should be produced. There's typically also nothing a developer can do to resolve the warning. --- src/detectors/transpilers/xml/Parser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detectors/transpilers/xml/Parser.ts b/src/detectors/transpilers/xml/Parser.ts index 9d4a8ffe2..0377959b6 100644 --- a/src/detectors/transpilers/xml/Parser.ts +++ b/src/detectors/transpilers/xml/Parser.ts @@ -459,7 +459,7 @@ export default class Parser { // in the control aggregation this.#generator.writeControl(customData); } else { - log.warn(`Ignoring unknown namespaced attribute ${attr.localNamespace}:${attr.name} ` + + log.verbose(`Ignoring unknown namespaced attribute ${attr.localNamespace}:${attr.name} ` + `for ${moduleName} in resource ${this.#resourceName}`); } } else {