Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Unnecessary debug message #84

Merged
merged 1 commit into from

2 participants

@ates

Hello,

This patch remove the unnecessary call of io:format in lager.erl.

Please merge if no objections.

Thanks.

@Vagabond Vagabond merged commit ea87dd9 into basho:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 19, 2012
  1. @ates
This page is out of date. Refresh to see the latest.
Showing with 0 additions and 1 deletion.
  1. +0 −1  src/lager.erl
View
1  src/lager.erl
@@ -211,7 +211,6 @@ set_loglevel(Handler, Level) when is_atom(Level) ->
%% @doc Set the loglevel for a particular backend that has multiple identifiers
%% (eg. the file backend).
set_loglevel(Handler, Ident, Level) when is_atom(Level) ->
- io:format("handler: ~p~n", [{Handler, Ident}]),
Reply = gen_event:call(lager_event, {Handler, Ident}, {set_loglevel, Level}, infinity),
%% recalculate min log level
MinLog = minimum_loglevel(get_loglevels()),
Something went wrong with that request. Please try again.