[rabbitmq-discuss] lager vs sasl error log

Tim Watson tim at rabbitmq.com
Wed May 1 10:36:41 BST 2013


Hi Ben,

Yeah that's true enough. Part of the difficulty, of course, is figuring out whether people are using it or not. I guess for now if we leave it outside the umbrella, at least we'll get some feedback from those who're interested in using it when they ask for it to be included. :)

Cheers,
Tim

On 1 May 2013, at 10:15, Ben Hood wrote:

> Hey Tim,
> 
> I think the main thing is that if you can easily build the ez without having to set up another source tree and build process - the umbrella serves this purpose. I think if enough people actually start using it, you could then consider whether it is worth mainlining.
> 
> Cheers,
> 
> Ben
> On Monday, 29 April 2013 at 11:23, Tim Watson wrote:
> 
>> Folks - we have heard back from three of four people about this feature. Currently, that's not really what I'd call a 'critical mass' and certainly not enough for me to argue that we ought to provide lager support as part of the core broker ootb - Simon or Matthias may have a different opinion, but I wonder whether just providing this via a plugin is 'good enough' if it was included in the umbrella?
>> 
>> Thoughts on a postcard please - the more votes the more likely something will happen (one way or another).
>> 
>> Cheers,
>> Tim
>> 
>> On 26 Mar 2013, at 19: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.
>>> 
>>> Cheers,
>>> Tim
>>> 
>>> On 23 Mar 2013, at 23:06, Ben Hood wrote:
>>> 
>>>> Hey Tim,
>>>> On Friday, 22 March 2013 at 07:55, Tim Watson wrote:
>>>> 
>>>>> Yeah with the current implementation you'd need to install your own log handler to make that work. In terms of changing the output format though, allowe to play devil's advocate for a moment...
>>>>> 
>>>>> The info/progress/error reports have a lot of data in them, process stats, stack traces, etc. are you wanting to see all that plonked on one single long line? Because I can see how that'd make parsing/aggregating easier, but not reading them. Does the lager output fit exactly with what you want (I've not looks at it or a couple of years)?
>>>> I don't think that everything needs to fit on one line. Longer traces which provide good context should probably remain as multiline entries. However, info items, for example,
>>>> 
>>>> Mar 22 22:33:01 a rabbit3: =INFO REPORT==== 22-Mar-2013::22:33:01 ===
>>>> Mar 22 22:33:01 a rabbit3: Setting permissions for 'guest' in '/' to '.*', '.*', '.*'
>>>> 
>>>> need not get split up over two lines.
>>>> 
>>>> With regard to longer traces, it would be nice if they could be handled in such a way that the generic portion of the call stack were trimmed down to something nearer the actual call site, rather that the entire generic call trace. As inspiration, logback mitigates the default "root cause comes last" behavior in Java with the reverse depth layout modifier (rEx{depth}). Lot's of hand waving here though.
>>>> 
>>>> Finally, I do have to concur with Gavin on people's perception about Rabbit due to logging - I've have many conversations with people over the years who ask why Rabbit has such bizare logging - I've generally answered that this is an Erlang-ism, and though it is strange, the server kind of serves its primary function well (i.e. delivering messages), so just put up with it.
>>>> 
>>>> Cheers,
>>>> 
>>>> Ben
>>>> _______________________________________________
>>>> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130501/9b88bf9d/attachment.htm>


More information about the rabbitmq-discuss mailing list