X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fconsumer.c;h=ff55b57df4a59348a93a0047a3fd34e7a5d4011c;hp=66cdc2479d28213acd65b4c988a413a072ec9ac5;hb=c5c45efab4fc692edd8fd4db88c0df1d5f6cefff;hpb=9dd26bb934086fdea165a1cd5d86adeeb5629643 diff --git a/src/bin/lttng-sessiond/consumer.c b/src/bin/lttng-sessiond/consumer.c index 66cdc2479..ff55b57df 100644 --- a/src/bin/lttng-sessiond/consumer.c +++ b/src/bin/lttng-sessiond/consumer.c @@ -91,7 +91,8 @@ int consumer_send_destroy_relayd(struct consumer_socket *sock, pthread_mutex_lock(sock->lock); ret = lttcomm_send_unix_sock(sock->fd, &msg, sizeof(msg)); if (ret < 0) { - PERROR("send consumer destroy relayd command"); + /* Indicate that the consumer is probably closing at this point. */ + DBG("send consumer destroy relayd command"); goto error_send; } @@ -127,7 +128,7 @@ void consumer_output_send_destroy_relayd(struct consumer_output *consumer) /* Send destroy relayd command */ ret = consumer_send_destroy_relayd(socket, consumer); if (ret < 0) { - ERR("Unable to send destroy relayd command to consumer"); + DBG("Unable to send destroy relayd command to consumer"); /* Continue since we MUST delete everything at this point. */ } }