Skip to content

Commit

Permalink
Increase RabbitMQ logging on publish
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswiggins committed Nov 11, 2020
1 parent 505eeef commit 319c6fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transports/janus_rabbitmq.c
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ void *janus_rmq_out_thread(void *data) {
janus_mutex_lock(&rmq_client->mutex);
/* Gotcha! Convert json_t to string */
char *payload_text = response->payload;
JANUS_LOG(LOG_VERB, "Sending %s API message to RabbitMQ (%zu bytes)...\n", response->admin ? "Admin" : "Janus", strlen(payload_text));
JANUS_LOG(LOG_VERB, "Sending %s API message to RabbitMQ (%zu bytes) on exchange %s with topic %s...\n", response->admin ? "Admin" : "Janus", strlen(payload_text), janus_exchange, response->admin ? from_janus_admin : from_janus);
JANUS_LOG(LOG_VERB, "%s\n", payload_text);
amqp_basic_properties_t props;
props._flags = 0;
Expand Down

0 comments on commit 319c6fc

Please sign in to comment.