From 8f7b8b641b85b0036cc993ddec2eacfb0b32ba4a Mon Sep 17 00:00:00 2001 From: jason yang Date: Tue, 16 Jan 2024 03:54:38 +0000 Subject: [PATCH] change message level from warn to debug Signed-off-by: jason yang --- CHANGELOG.md | 1 + internal/pkg/overlay/config.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9617d511..f06f917b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -56,6 +56,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 will generate an error #474 - Create `/etc/systemd/network/10-persistent-net-.link` file per network device - Fix the issue that the same tag added in `node set` is ignored. #967 +- Change too-verbose warning message level from `Warn` to `Debug`. #1025 ### Changed diff --git a/internal/pkg/overlay/config.go b/internal/pkg/overlay/config.go index 11b54112..50fbcce8 100644 --- a/internal/pkg/overlay/config.go +++ b/internal/pkg/overlay/config.go @@ -43,7 +43,7 @@ func OverlayImage(nodeName string, context string, overlayNames []string) string var name string if context != "" { if len(overlayNames) > 0 { - wwlog.Warn("context(%v) and overlays(%v) specified: prioritizing context(%v)", + wwlog.Debug("context(%v) and overlays(%v) specified: prioritizing context(%v)", context, overlayNames, context) } name = "__" + strings.ToUpper(context) + "__.img"