[rabbitmq-discuss] lager vs sasl error log / badarg?

Tim Watson watson.timothy at gmail.com
Wed Mar 27 23:27:02 GMT 2013


Hi Petr,

That's probably a bug and you're probably right about the cause. I'll take a look at fixing that somehow. Other than puking on printing the plugin info, does the logging out behave as you'd expect though?

Cheers
Tim

On 27 Mar 2013, at 19:23, "Gotthard, Petr" <Petr.Gotthard at Honeywell.com> wrote:

> Hi,
> We used a custom lager plugin before without any troubles, but after switching to your plugin I'm getting 'badarg' when rabbit prints the name of the plugin. I disabled all plugins, except lager.
> 
> Stack trace:
>   [{rabbit,'-print_plugin_info/1-lc$^0/1-0-',1,[]},
>    {rabbit,'-print_plugin_info/1-fun-0-',1,[]},
>    {rabbit_misc,with_local_io,1,[]},
>    {rabbit,'-boot/0-fun-1-',0,[]},
>    {rabbit,start_it,1,[]},
>    {init,start_it,1,[]},
>    {init,start_em,1,[]}]
> 
> 
> Does it ring a bell to you?
> 
> Could it be caused by the unusual naming? The plugin is named "lager", while the directory is "rabbitmq_lager" and the .ez is called "rabbitmq_lager-2.0.0-rmq0.0.1-git9719370".
> 
> 
> Petr
> 
> -----Original Message-----
> From: rabbitmq-discuss-bounces at lists.rabbitmq.com [mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] On Behalf Of Tim Watson
> Sent: 27. března 2013 15:04
> To: Discussions about RabbitMQ
> Subject: Re: [rabbitmq-discuss] lager vs sasl error log
> 
> If anyone wants to try this plugin out, there are instructions in the README file on github now. You'll need at least R14B03 to use lager afaict. Please shout if you run into any difficulties.
> 
> Cheers,
> Tim
> 
> On 27 Mar 2013, at 00:19, Ben Hood wrote:
> 
>> On Tuesday, 26 March 2013 at 15:53, Tim Watson wrote:
>>> I have set up an experimental repository at https://github.com/hyperthunk/rabbitmq-lager that supports logging to lager via its built in error_logger redirection. You enable via `rabbitmq-plugins enable lager` and configure it in the RabbitMQ config file just like any other plugin, under the key 'lager'. In the morning I'll chat with the guys about integrating this as experimental plugin for the time being, so people can play around and see if it offers the required functionality.
>> Very cool - nice one Tim!
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> 
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


More information about the rabbitmq-discuss mailing list