Log mongodb oplog auth errors at debug level (#6742)

This commit is contained in:
Daniel Nelson
2019-12-03 11:26:51 -08:00
committed by GitHub
parent 1b25a9c910
commit cf78f4e11e

View File

@@ -214,7 +214,7 @@ func (s *Server) gatherData(acc telegraf.Accumulator, gatherDbStats bool, gather
if replSetStatus != nil {
oplogStats, err = s.gatherOplogStats()
if err != nil {
return err
s.authLog(fmt.Errorf("Unable to get oplog stats: %v", err))
}
}