Thanks Luke, 

Grep’d and ditto, seems like it’s a vestigial limb, deleting from my configs. 

Thanks

Bryan

> On 21 Oct 2019, at 18:58, Luke Bakken <l...@bakken.io> wrote:
> 
> Hey Bryan,
> 
> Something similar in the RabbitMQ code base made me go "huh" the other
> day. Calls to rabbit_log_ldap module functions when no such module
> exists. Turns out there's a parse transform defined that turns these
> calls into lager function calls to an extra sink:
> 
> https://github.com/rabbitmq/rabbitmq-common/blob/master/mk/rabbitmq-build.mk#L46
> 
> I couldn't find any instance of object_lager_event:info (debug,
> warning, etc) function calls in the Riak code I have lying around,
> though, so /shrug
> 
> Good luck -
> Luke
> 
> On Mon, Oct 21, 2019 at 9:18 AM Bryan Hunt
> <bryan.h...@erlang-solutions.com> wrote:
>> 
>> Given the following configuration, can anyone explain to me what the 
>> object_lager_event section does?
>> 
>> I see this code all over the place (including snippets I provided in the 
>> distant past).
>> 
>> However, a search on github (basho org/erlang-lager/lager) don’t throw up 
>> any code/module matches.
>> 
>> (GitHub indexing doesn’t work well as GitHub only index master and basho 
>> stuff is a mess branch wise).
>> 
>> Anyone got any idea ?
>> 
>> [
>> {lager,
>>   [
>>      {extra_sinks,
>>           [
>>            {object_lager_event,
>>             [{handlers,
>>               [{lager_file_backend,
>>                 [{file, "/var/log/riak/object.log"},
>>                  {level, info},
>>                  {formatter_config, [date, " ", time," [",severity,"] 
>> ",message, "\n"]}
>>                 ]
>>                }]
>>              },
>>              {async_threshold, 500},
>>              {async_threshold_window, 50}]
>>            }
>>            ]
>>      }
>>    ]
>> }]


-- 


Code Sync & Erlang Solutions Conferences

Code BEAM Lite 
<https://www2.erlang-solutions.com/l/23452/2019-08-22/69x6h1> - Berlin: 11 
October 2019

RabbitMQ Summit 
<https://www2.erlang-solutions.com/l/23452/2019-06-24/66sd8l> - London: 4 
November 2019

Code Mesh LDN 
<https://www2.erlang-solutions.com/l/23452/2019-06-24/66sd8x> - London: 7-8 
November 2019

Code BEAM Lite 
<https://www2.erlang-solutions.com/l/23452/2019-08-22/69x6jc> - Bangalore: 
14 November 2019

Code BEAM Lite 
<https://www2.erlang-solutions.com/l/23452/2019-06-24/66sdbs> - Amsterdam: 
28 November 2019

Lambda Days 
<https://www2.erlang-solutions.com/l/23452/2019-06-24/66sdcd> - Kraków: 
13-14 February 2020

Code BEAM SF 
<https://www2.erlang-solutions.com/l/23452/2019-08-22/69x6cm> - San 
Francisco: 5-6 March 2020

Code BEAM STO - Stockholm: 28-29 May 2020





Erlang Solutions cares about your data and privacy; please find all details 
about the basis for communicating with you and the way we process your data 
in our Privacy Policy 
<https://www.erlang-solutions.com/privacy-policy.html>. You can update your 
email preferences or opt-out from receiving Marketing emails here 
<https://www2.erlang-solutions.com/email-preference?epc_hash=JtO6C7Q2rJwCdZxBx3Ad8jI2D4TJum7XcUWcgfjZ8YY>.

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to