Skip to content

Commit 644eedc

Browse files
committed
Relax logging when dashboards defined as variables can not be found
1 parent 77aec2b commit 644eedc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGES.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ grafana-wtf changelog
55

66
in progress
77
===========
8+
- Relaxed logging when dashboards defined as variables can not be found.
9+
Thanks, @GrgDev.
810

911
2025-03-18 0.23.0
1012
=================

grafana_wtf/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ def add(item):
716716
for ds_uid in values:
717717
datasource = self.datasource_by_uid.get(ds_uid)
718718
if datasource is None:
719-
log.warning(f"Data source '{ds_uid}' not found")
719+
log.debug(f"Data source '{ds_uid}' not found")
720720
continue
721721
ds = dict(
722722
type=datasource.get("type"),

0 commit comments

Comments
 (0)