diff options
author | Evgeny Khramtsov <ekhramtsov@process-one.net> | 2019-06-24 20:32:34 +0300 |
---|---|---|
committer | Evgeny Khramtsov <ekhramtsov@process-one.net> | 2019-06-24 20:32:34 +0300 |
commit | a3e0cbbdd8a3ec4bbfa17e5147c59978021fc0b5 (patch) | |
tree | 6a00378671ffaee338317c403b46b6a5ecad5ce1 /src/mod_sip_registrar.erl | |
parent | Check if mod_last is loaded before calling its functions (diff) |
Make logging messages more consistent
Diffstat (limited to 'src/mod_sip_registrar.erl')
-rw-r--r-- | src/mod_sip_registrar.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_sip_registrar.erl b/src/mod_sip_registrar.erl index dc004a93c..26a4398ea 100644 --- a/src/mod_sip_registrar.erl +++ b/src/mod_sip_registrar.erl @@ -80,7 +80,7 @@ request(#sip{hdrs = Hdrs} = Req, SIPSock) -> [<<"*">>] when Expires == 0 -> case unregister_session(US, CallID, CSeq) of {ok, ContactsWithExpires} -> - ?INFO_MSG("unregister SIP session for user ~s@~s from ~s", + ?INFO_MSG("Unregister SIP session for user ~s@~s from ~s", [LUser, LServer, inet_parse:ntoa(PeerIP)]), Cs = prepare_contacts_to_send(ContactsWithExpires), mod_sip:make_response( @@ -223,7 +223,7 @@ handle_info({'DOWN', MRef, process, _Pid, _Reason}, State) -> end, {noreply, State}; handle_info(_Info, State) -> - ?ERROR_MSG("got unexpected info: ~p", [_Info]), + ?ERROR_MSG("Unexpected info: ~p", [_Info]), {noreply, State}. terminate(_Reason, _State) -> |