diff --git a/util/headerreader/header_reader.go b/util/headerreader/header_reader.go index 2bd8f198ad..75eb145a4b 100644 --- a/util/headerreader/header_reader.go +++ b/util/headerreader/header_reader.go @@ -312,18 +312,10 @@ func (s *HeaderReader) logIfHeaderIsOld() { headerTime := time.Since(l1Timetamp) if headerTime >= s.config().OldHeaderTimeout { s.setError(fmt.Errorf("latest header is at least %v old", headerTime)) - // Upgrade the log level from warn to error when losing connection to L1 for too long - if headerTime >= DefaultConfig.OldHeaderTimeout { - log.Error( - "latest L1 block is old", "l1Block", storedHeader.Number, - "l1Timestamp", l1Timetamp, "age", headerTime, - ) - } else { - log.Warn( - "latest L1 block is old", "l1Block", storedHeader.Number, - "l1Timestamp", l1Timetamp, "age", headerTime, - ) - } + log.Error( + "latest L1 block is old", "l1Block", storedHeader.Number, + "l1Timestamp", l1Timetamp, "age", headerTime, + ) } }