Skip to content

Commit

Permalink
Tweak config reporting to use more vocal info message
Browse files Browse the repository at this point in the history
  • Loading branch information
dizzyd committed May 17, 2012
1 parent d33a127 commit c397b23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/riak_kv_eleveldb_backend.erl
Expand Up @@ -342,8 +342,8 @@ init_state(DataRoot, Config) ->
FoldOpts = lists:keystore(fill_cache, 1, ReadOpts, {fill_cache, false}),

%% Generate a debug message with the options we'll use for each operation
lager:debug("Datadir ~s options for LevelDB: ~p\n",
[DataRoot, [{open, OpenOpts}, {read, ReadOpts}, {write, WriteOpts}, {fold, FoldOpts}]]),
lager:info("~s options for LevelDB: ~p\n",
[DataRoot, [{open, OpenOpts}, {read, ReadOpts}, {write, WriteOpts}, {fold, FoldOpts}]]),
#state { data_root = DataRoot,
open_opts = OpenOpts,
read_opts = ReadOpts,
Expand Down

1 comment on commit c397b23

@matthewvon
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the log line appears to be working in the "console" and configs change as I adjust app.config.

Please sign in to comment.