can't set log_levels?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

can't set log_levels?

zhaodawei
This post was updated on .
Hello,My rabbitmq.conf is that ,but when I stop rabbitmq and "rabbitmq-server -detached",It's don't work.
[
        {rabbit, [
                {log_levels, [{connection, error}]}
        ]}
].

The rabbitmq.log all like this :=INFO REPORT==== 12-Mar-2013::10:31:58 ===
why?Thinks!

Reply | Threaded
Open this post in threaded view
|

Re: can't set log_levels?

Emile Joubert

Hi,

On 12/03/13 02:33, zhaodawei wrote:
> Hello,My rabbitmq rabbitmq.conf is that ,but when I stop rabbitmq and
> "rabbitmq-server -detached",It's don't work.
> [
>         {rabbit, [
>                 {log_levels, [{connection, error}]}
>         ]}
> ].
>
> The rabbitmq.log all like this :=INFO REPORT==== 12-Mar-2013::10:31:58 ===

If this info report pertains to a connection event then the config file
might not have been read. Make sure it is available in the correct
location. Use "rabbitmqctl environment" to make sure your config has
taken effect or check the startup banner for a line starting "config
file(s)".

If this info report does not pertain to a connection then the
description of log_levels from http://www.rabbitmq.com/configure.html
has the explanation:

 "At present there is just one category defined - 'connection', for all
 events relating to network connections. Other, currently
 uncategorised, events are always logged.




-Emile












_______________________________________________
rabbitmq-discuss mailing list
[hidden email]
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Reply | Threaded
Open this post in threaded view
|

Re: can't set log_levels?

zhaodawei
Thinks!I have found the reason for the error.It's rabbitmq.config not rabbitmq.conf.