Created
May 6, 2014 16:13
-
-
Save alexmoore/a9d5ca6c24362ffba3e9 to your computer and use it in GitHub Desktop.
Set Debug / Info Log Levels Riak-CS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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,[]])). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment