Updated trace logging level

This commit is contained in:
HuangDan 2017-10-21 14:49:56 +08:00
parent c43cae4348
commit c87c49ede0
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ all_traces() -> gen_server:call(?MODULE, all_traces).
%%--------------------------------------------------------------------
init([]) ->
{ok, #state{level = info, traces = #{}}}.
{ok, #state{level = debug, traces = #{}}}.
handle_call({start_trace, Who, LogFile}, _From, State = #state{level = Level, traces = Traces}) ->
case lager:trace_file(LogFile, [Who], Level, ?TRACE_OPTIONS) of