Elasticsearch Publishers Full warning
When all the Elasticsearch publishers are full the log message should be an error and not a warning.
@@ -54,7 +54,8 @@ func sendMessage(pipeInChannels []chan message.ChefRun, msg message.ChefRun) {
log.WithFields(log.Fields{
"number_of_publishers": len(pipeInChannels),
- }).Warn("All elasticsearch publishers are full")
+ }).Error("All elasticsearch publishers are full. " +
+ "Increase the max number of bundled messages and/or number of publishers")
time.Sleep(time.Millisecond * 10)
}
}
