From: Chris Sibbitt Date: Fri, 25 Aug 2023 19:04:16 +0000 (-0400) Subject: Change AMQP queue drops from DEBUG to WARNING X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85c6a1fda791337b103acd579ed403516ad2d179;p=thirdparty%2Fcollectd.git Change AMQP queue drops from DEBUG to WARNING Debug messages are only available if collectd is compiled with debug enabled, making it hard to troubleshoot the situation where the amqp queue is being overrun. --- diff --git a/src/amqp1.c b/src/amqp1.c index c4f14d12c..f194c5e80 100644 --- a/src/amqp1.c +++ b/src/amqp1.c @@ -346,7 +346,7 @@ static int encqueue(cd_message_t *cdm, DEQ_SIZE(out_messages) >= transport->sendq_limit) { cd_message_t *evict; - DEBUG("amqp1 plugin: dropping oldest message because sendq is full"); + WARNING("amqp1 plugin: dropping oldest message because sendq is full"); evict = DEQ_HEAD(out_messages); DEQ_REMOVE_HEAD(out_messages); cd_message_free(evict);