Skip to content

Commit

Permalink
Fix the log message during the start of API server
Browse files Browse the repository at this point in the history
Change the message from Error to Debug when unsupported or Legacy
Logs Type given.
  • Loading branch information
khrm committed Nov 20, 2024
1 parent a3d212b commit 0925bd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/api/server/v1alpha2/plugin/plugin_logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 0925bd3

Please sign in to comment.