Log mongodb oplog auth errors at debug level (#6742)
This commit is contained in:
@@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user