Skip to content

Commit

Permalink
Reduce log verbosity.
Browse files Browse the repository at this point in the history
  • Loading branch information
archaelus committed Nov 2, 2008
1 parent 803cf3b commit c3a0ae2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/irc_s2c_fsm.erl
Expand Up @@ -117,7 +117,6 @@ login_user({irc, _, #irc_cmd{name=user,args=Args}},
RealName = proplists:get_value(real_name, Args),
User = U#user{name=UserName,
realname=RealName},
?INFO("~p logged in.", [User]),
welcome(State#state{user=User});
login_user(Cmd = {irc, _, _}, State) ->
?INFO("Got ~p in state login_user", [Cmd]),
Expand Down
4 changes: 2 additions & 2 deletions src/irc_server.erl
Expand Up @@ -237,10 +237,10 @@ code_change(_OldVsn, State, _Extra) ->
%%--------------------------------------------------------------------

send(Msg, {To, _Nick}) when is_pid(To); is_atom(To) ->
?INFO("To (~p)~p: ~p", [_Nick, To, Msg]),
%%?INFO("To (~p)~p: ~p", [_Nick, To, Msg]),
To ! Msg;
send(Msg, To) when is_pid(To); is_atom(To) ->
?INFO("To ~p: ~p", [To, Msg]),
%%?INFO("To ~p: ~p", [To, Msg]),
To ! Msg.

srv_msg(Msg, Ref, C = #state{}) when is_reference(Ref) ->
Expand Down

0 comments on commit c3a0ae2

Please sign in to comment.