mirror of
https://github.com/rancher/rke.git
synced 2025-09-04 16:30:02 +00:00
Drop the log level to Debug since rancher can call this everytime worker connects back every ~2 mins
This commit is contained in:
@@ -13,6 +13,7 @@ const (
|
||||
)
|
||||
|
||||
type logger interface {
|
||||
Debugf(msg string, args ...interface{})
|
||||
Infof(msg string, args ...interface{})
|
||||
Warnf(msg string, args ...interface{})
|
||||
}
|
||||
@@ -37,3 +38,7 @@ func Infof(ctx context.Context, msg string, args ...interface{}) {
|
||||
func Warnf(ctx context.Context, msg string, args ...interface{}) {
|
||||
getLogger(ctx).Warnf(msg, args...)
|
||||
}
|
||||
|
||||
func Debugf(ctx context.Context, msg string, args ...interface{}) {
|
||||
getLogger(ctx).Debugf(msg, args...)
|
||||
}
|
||||
|
Reference in New Issue
Block a user