1
0
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:
Prachi Damle
2020-01-15 16:29:25 -08:00
parent 38f9b2902e
commit d56f641cdd
2 changed files with 7 additions and 2 deletions

View File

@@ -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...)
}