Skip to content

Commit 68f411f

Browse files
committed
change warn logs to info
1 parent c20a237 commit 68f411f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

x/blockdb/database.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ func (s *Database) persistIndexHeader() error {
697697
defer s.headerWriteOccupied.Store(false)
698698
return s.persistIndexHeaderInternal()
699699
}
700-
s.log.Warn("Skipping persistIndexHeader due to concurrent header write")
700+
s.log.Info("Skipping persistIndexHeader due to concurrent header write")
701701
return nil
702702
}
703703

@@ -1043,14 +1043,14 @@ func (s *Database) loadOrInitializeHeader() error {
10431043

10441044
// log a warning if the config does not match the index header
10451045
if s.config.MinimumHeight != s.header.MinHeight {
1046-
s.log.Warn(
1046+
s.log.Info(
10471047
"MinimumHeight in blockdb config does not match the index header. The MinimumHeight in the index header will be used.",
10481048
zap.Uint64("configMinimumHeight", s.config.MinimumHeight),
10491049
zap.Uint64("headerMinimumHeight", s.header.MinHeight),
10501050
)
10511051
}
10521052
if s.config.MaxDataFileSize != s.header.MaxDataFileSize {
1053-
s.log.Warn(
1053+
s.log.Info(
10541054
"MaxDataFileSize in blockdb config does not match the index header. The MaxDataFileSize in the index header will be used.",
10551055
zap.Uint64("configMaxDataFileSize", s.config.MaxDataFileSize),
10561056
zap.Uint64("headerMaxDataFileSize", s.header.MaxDataFileSize),

0 commit comments

Comments
 (0)