Skip to content

Instantly share code, notes, and snippets.

@PharkMillups
Created October 8, 2010 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PharkMillups/617394 to your computer and use it in GitHub Desktop.
Save PharkMillups/617394 to your computer and use it in GitHub Desktop.
11:47 <dchote> is there any "turn up the debugging, and log to this file" stuff for
non-erlang people to figure out?
11:47 <dizzyd> it's an area we need to work on — what in particular would you like to see?
11:47 <dchote> right now im trying to define a "get riak working on OSX" howto for
my company to use
11:48 <dchote> i would love to be able to say "put logs here with this level of
verbosity and put data there"
11:48 <dchote> as a simple app conf
11:48 <benblack> dchote: logging is through sasl for most things.
11:48 <* dchote> learns through logs
11:48 <* dizzyd> waves to his old friend dchote
11:49 <dchote> :P
11:49 <dizzyd> there's not a whole lot of "success" logging in Riak
11:49 <dizzyd> most of it is in error cases
11:49 <dchote> ok, since i just googled erlang sasl it makes sense.. wrong context before
11:49 <dchote> erlang sasl != sasl
11:49 <seancribbs> yep
11:49 <benblack> yes, just googling sasl will get you a bunch fo security stuff
11:50 <benblack> lolsearchengines
11:50 <* dchote> very familiar with sasl in general, ok this makes sense
11:52 <dchote> what would the best way for me to change the run_erl.log path?
11:52 <dchote> modify bin/riak ?
11:52 <benblack> think that's in the start script
11:53 <* dizzyd> nods
11:53 <benblack> that's what i'd do
11:53 <dizzyd> if you're using a binary distro it should already be pointed
at the right place
11:53 <dizzyd> otherwise, bin/riak
11:53 <dchote> well, im using the binary distro, i just want to move
from /usr/local/riak/log to /this/is/where/my/logs/go
11:54 <dizzyd> yes, bin/riak is what you want to change
11:54 <benblack> you'll want to change the web log dir, too, i think
11:54 <dizzyd> there are vars at the top of the file
11:54 <dchote> so there is
11:54 <dchote> awesome
11:54 <benchMark> Or you could just symlink it and call it a day. :)
11:54 <seancribbs> wow, benchMark comes out of the woodwork
11:55 <dchote> yes.. i could also install windows.. but at least one of us here
knows that aint gonna happen
11:55 <dchote> cool, thx guys
11:55 <dchote> before i look at the repo, how busy is bin/riak?
11:55 <dchote> fairly stable?
11:56 <seancribbs> dchote: doesn't change often
11:56 <seancribbs> dchote: another option is for you to do a source checkout and change
the *.vars files as needed
11:56 <dizzyd> dchote: riak doesn't work on windows — you'll be disappointed, I know
11:56 <dchote> :P
11:57 <* dchote> looks to see what the status of erlang on beos is :)
11:57 <benblack> hah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment