Skip to content

Commit 272ec03

Browse files
committed
Set debug log level when running tests
1 parent 781c9df commit 272ec03

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/plumtree_SUITE.erl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,9 @@ start(_Case, Config, Options) ->
406406

407407
StartFun = fun({_Name, Node}) ->
408408
%% Start plumtree.
409-
{ok, _} = rpc:call(Node, plumtree, start, [])
409+
{ok, _} = rpc:call(Node, plumtree, start, []),
410+
%% set debug log level for test run
411+
ok = rpc:call(Node, lager, set_loglevel, [{lager_file_backend,"log/console.log"}, debug])
410412
end,
411413
lists:foreach(StartFun, Nodes),
412414

0 commit comments

Comments
 (0)