Enable java client logs

257 views
Skip to first unread message

Suresh Sajjan

unread,
May 14, 2019, 6:28:30 AM5/14/19
to rabbitmq-users
Hi,
How to enable java client logs(AMQP java client) logs in the Rabbit MQ?


I have tried with the below configuration

[{rabbit, [{log, [
    {file, [{level, debug}]},
    {categories, [
        {connection, [{level, debug}]},
        {channel, [{level, debug}]},
{queue, [{level, debug}]},
{mirroring, [{level, debug}]},
{default, [{level, debug}]}
        ]}
    ]}]
}].


But i didn't notice any changes in the log file after changing the configuration.

Currently trying this on AMQP java client 4.11.0
and Rabbit MQ version 3.6.9
and Erlang 19.

Michael Klishin

unread,
May 14, 2019, 6:34:28 AM5/14/19
to rabbitmq-users
Server config file does not control Java client logs, SLF4J does. See [1][2].

RabbitMQ 3.6 has been out of support for 1 year now. Please upgrade. There will be no further
technical guidance on it [3][4].


--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/09935f26-019b-45eb-874c-76e4e281b8a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
MK

Staff Software Engineer, Pivotal/RabbitMQ

Suresh Sajjan

unread,
May 14, 2019, 7:35:42 AM5/14/19
to rabbitmq-users
Thanks Got it.


On Tuesday, 14 May 2019 16:04:28 UTC+5:30, Michael Klishin wrote:
Server config file does not control Java client logs, SLF4J does. See [1][2].

RabbitMQ 3.6 has been out of support for 1 year now. Please upgrade. There will be no further
technical guidance on it [3][4].


On Tue, May 14, 2019 at 1:28 PM Suresh Sajjan <sureshs...@gmail.com> wrote:
Hi,
How to enable java client logs(AMQP java client) logs in the Rabbit MQ?


I have tried with the below configuration

[{rabbit, [{log, [
    {file, [{level, debug}]},
    {categories, [
        {connection, [{level, debug}]},
        {channel, [{level, debug}]},
{queue, [{level, debug}]},
{mirroring, [{level, debug}]},
{default, [{level, debug}]}
        ]}
    ]}]
}].


But i didn't notice any changes in the log file after changing the configuration.

Currently trying this on AMQP java client 4.11.0
and Rabbit MQ version 3.6.9
and Erlang 19.

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitm...@googlegroups.com.

To post to this group, send email to rabbitm...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/09935f26-019b-45eb-874c-76e4e281b8a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages