Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Adjust elk-incompatible log line #209

Merged
merged 1 commit into from
May 23, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions services/storehost/storagemonitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,7 @@ func (s *storageMonitor) checkStorage() {
} else if availablePcnt < warningThreshold {
s.logger.WithFields(bark.Fields{`filePath`: path, `availableMBs`: availableMBs, `totalMBs`: totalMBs, `availablePcnt`: availablePcnt}).Warn(`Available disk space lower than warning threshold`)
} else {
s.logger.WithFields(bark.Fields{`filePath`: path, `availableMBs`: availableMBs, `totalMBs`: totalMBs, `availablePcnt`: availablePcnt}).Info(`Monitoring disk space`, availablePcnt)
}
s.logger.WithFields(bark.Fields{`filePath`: path, `availableMBs`: availableMBs, `totalMBs`: totalMBs, `availablePcnt`: availablePcnt}).Info(`Monitoring disk space`) }
}

func (s *storageMonitor) doHouseKeeping() {
Expand Down