I hereby claim:
- I am alexmoore on github.
- I am alexmoore (https://keybase.io/alexmoore) on keybase.
- I have a public key whose fingerprint is ED5D 175E 29A7 478F 0D4F 7D57 1D71 6D67 A969 0E08
To claim this, I am signing this object:
SetDebug = fun() -> {node(), lager:set_loglevel(lager_file_backend, "/var/log/riak-cs/console.log", debug)} end. | |
SetInfo = fun() -> {node(), lager:set_loglevel(lager_file_backend, "/var/log/riak-cs/console.log", info)} end. | |
rp(rpc:multicall(erlang, apply, [SetInfo,[]])). |
I hereby claim:
To claim this, I am signing this object:
unpack_riak_debugs () { | |
mkdir -p compressed | |
for file in `ls *riak-debug.tar.gz` | |
do | |
tar xzf $file | |
mv $file compressed | |
done | |
for file in `ls -1 | grep riak-debug` | |
do |
%% Provides a timestamp like 2014-03-19T19:25:17.779905 | |
DateTime = erlang:now(). | |
{_,_,MicroSec} = DateTime. | |
{{Year,Month,Day},{Hour,Min,Sec}} = calendar:now_to_universal_time(DateTime). | |
DateString = io:format("~4..0B-~2..0B-~2..0BT~2..0B:~2..0B:~2..0B.~6..0B", | |
[Year, Month, Day, Hour, Min, Sec, MicroSec]). | |
DateString. |