diff --git a/runtime/fdlimits/fdlimits.go b/runtime/fdlimits/fdlimits.go index ea2289c3b..6d5b17cd6 100644 --- a/runtime/fdlimits/fdlimits.go +++ b/runtime/fdlimits/fdlimits.go @@ -2,9 +2,11 @@ package fdlimits import ( "github.com/ethereum/go-ethereum/common/fdlimit" - log "github.com/sirupsen/logrus" + "github.com/sirupsen/logrus" ) +var log = logrus.WithField("prefix", "fdlimits") + // SetMaxFdLimits is a wrapper around a few go-ethereum methods to allow prysm to // set its file descriptor limits at the maximum possible value. func SetMaxFdLimits() error { @@ -20,6 +22,6 @@ func SetMaxFdLimits() error { if err != nil { return err } - log.Infof("Raised fd limit to %d from %d", raisedVal, curr) + log.Debugf("Updated file descriptor limit to %d from %d", raisedVal, curr) return nil }