This is in the app.config? I see 

%% Lager Config
{lager, [
. . ..

Is that where the 'trace_file' and 'clear_all_traces()' should go?

-----Original Message-----
From: Andrew Thompson [mailto:[email protected]] 
Sent: Tuesday, March 12, 2013 9:14 PM
To: Kevin Burton
Cc: 'Jeremiah Peschka'; 'riak-users'
Subject: Re: Error interpretation

Riak does not log crashed pre/post commit hooks by default, this is to avoid
a bad hook or object from denial of servicing the cluster in production.

If you want to debug this, you can use a lager trace at the riak console
like this:

lager:trace_file("/tmp/put_fsm.log", [{module, riak_kv_put_fsm}], debug).

Then do whatever operation is failing and look at the /tmp/put_fsm.log file.
When you want to disable the trace simply do:

lager:clear_all_traces().

Andrew


_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to