Skip to content

Commit

Permalink
Allow the user to set the level of logging for the console.log file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey.Saltanov authored and Alexey.Saltanov committed Jan 22, 2014
1 parent 064b9de commit ed770df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/basho_bench.erl
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ main(Args) ->
%% Log level can be overriden by the config files
CustomLagerLevel = basho_bench_config:get(log_level),
lager:set_loglevel(lager_console_backend, CustomLagerLevel),
lager:set_loglevel(lager_file_backend, ConsoleLog, CustomLagerLevel),

%% Init code path
add_code_paths(basho_bench_config:get(code_paths, [])),
Expand Down

0 comments on commit ed770df

Please sign in to comment.