--
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.
For more options, visit https://groups.google.com/d/optout.
Thanks
Gunjɐn
--
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.
For more options, visit https://groups.google.com/d/optout.
Now I understand my own confusion. I mixed up "lager_file_backend" with the one for the exchange. My question is, what would be the command to change the log level for logs sent to "amq.rabbitmq.log"?
Johan
Now I understand my own confusion. I mixed up "lager_file_backend" with the one for the exchange. My question is, what would be the command to change the log level for logs sent to "amq.rabbitmq.log"?
Johan
> On Mar 10, 2019, at 2:39 PM, Johan Rhodin <jo...@cloudamqp.com> wrote:
>
> The system I originally experienced this on was 3.7.9/21.2.3. Today I tried reproducing on RabbitMQ 3.7.9 on Erlang 21.2.3, but can't. Sorry about the noise.
>
> Switching to/from info and debug emits a [notice] but I assume it is to be expected that the notice doesn't show for warning/error/critical/none levels?
>
> 2019-03-10 18:53:54.272 [notice] <0.105.0> Changed loglevel of /var/log/rabbitmq/rabbit@node-01.log to debug
> 2019-03-10 18:54:01.299 [debug] <0.982.0> User 'admin' authenticated successfully by backend rabbit_auth_backend_internal
> 2019-03-10 18:54:23.703 [notice] <0.105.0> Changed loglevel of /var/log/rabbitmq/rabbit@node-01.log to info
>
> Johan
>
>> On Mar 9, 2019, at 10:18 AM, Luke Bakken <lba...@pivotal.io> wrote:
>>
>> Hi Johan,
>>
>> The new CLI command basically executes the same functions you did.
>>
>> When you say "unable to set the warning level" what exactly does that mean? Do you see errors? What are you expecting?
>>
>> Also, it's very important to let us know what version of RabbitMQ and Erlang you're using.
>>
>> Thanks,
>> Luke
>>
>> On Saturday, March 9, 2019 at 6:21:39 AM UTC-8, Johan Rhodin wrote:
>> Hi,
>>
>> I'm unable to set the warning level with rabbitmqctl eval '{lager_file_backend, F} = proplists:lookup(lager_file_backend, gen_event:which_handlers(lager_event)), lager:set_loglevel(lager_event, lager_file_backend, F, warning), lager:set_loglevel(rabbit_log_lager_event, lager_forwarder_backend, undefined, warning).', is there another way to do that? (Without upgrading to 3.7.10+ and use the new CLI command)
>>
>> --
>> 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-users+unsubscribe@googlegroups.com.
>> To post to this group, send email to rabbitmq-users@googlegroups.com.