]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
node-proxy: reduce log verbosity for missing optional fields
authorGuillaume Abrioux <gabrioux@ibm.com>
Wed, 28 Jan 2026 12:05:04 +0000 (13:05 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Wed, 18 Feb 2026 08:52:38 +0000 (09:52 +0100)
Change missing field logging from warning to debug level in
RedfishDellSystem, as missing optional fields can be expected behavior
and and doesn't require warning level logging.

Fixes: https://tracker.ceph.com/issues/74749
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/ceph-node-proxy/ceph_node_proxy/redfishdellsystem.py

index 8a478fe32f63cad44f28413bfeb68e5b212a09dd..8d611e2148b4ebfcf9861fefc3700ce7298247ec 100644 (file)
@@ -25,7 +25,7 @@ class RedfishDellSystem(BaseRedfishSystem):
                 try:
                     result[to_snake_case(field)] = data[field]
                 except KeyError:
-                    self.log.warning(f'Could not find field: {field} in data: {data}')
+                    self.log.debug(f'Could not find field: {field} in data: {data}')
                     result[to_snake_case(field)] = None
             return result