From 0925bd35acaf395ac7f1b5783decac3d5cf4dd6e Mon Sep 17 00:00:00 2001 From: Khurram Baig Date: Wed, 20 Nov 2024 14:51:58 +0530 Subject: [PATCH] Fix the log message during the start of API server Change the message from Error to Debug when unsupported or Legacy Logs Type given. --- pkg/api/server/v1alpha2/plugin/plugin_logs.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/api/server/v1alpha2/plugin/plugin_logs.go b/pkg/api/server/v1alpha2/plugin/plugin_logs.go index d7dc18273..ca7448a26 100644 --- a/pkg/api/server/v1alpha2/plugin/plugin_logs.go +++ b/pkg/api/server/v1alpha2/plugin/plugin_logs.go @@ -391,7 +391,8 @@ func (s *LogServer) setLogPlugin() bool { s.getLog = getBlobLogs default: s.IsLogPluginEnabled = false - s.logger.Errorf("unsupported type of logs given for plugin") + s.logger.Warnf("Plugin Logs API Disable: unsupported type of logs given for plugin, " + + "legacy logging system might work") } return s.IsLogPluginEnabled }