Changeset 5244


Ignore:
Timestamp:
Feb 22, 2016 1:36:31 PM (9 years ago)
Author:
nanang
Message:

Misc (re #1882): Updated log level (from 1 or 2 to 3) for some error messages that are transient, recoverable, or handled with return codes (thanks George Joseph for the patch).

Location:
pjproject/trunk/pjsip/src/pjsip
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_transaction.c

    r5241 r5244  
    18991899            err =pj_strerror((pj_status_t)-sent, errmsg, sizeof(errmsg)); 
    19001900 
    1901             PJ_LOG(2,(tsx->obj_name, 
     1901            PJ_LOG(3,(tsx->obj_name, 
    19021902                      "Failed to send %s! err=%d (%s)", 
    19031903                      pjsip_tx_data_get_info(send_state->tdata), -sent, 
     
    19391939 
    19401940        } else { 
    1941             PJ_PERROR(2,(tsx->obj_name, (pj_status_t)-sent, 
     1941            PJ_PERROR(3,(tsx->obj_name, (pj_status_t)-sent, 
    19421942                         "Temporary failure in sending %s, " 
    19431943                         "will try next server", 
  • pjproject/trunk/pjsip/src/pjsip/sip_transport_tcp.c

    r5200 r5244  
    165165    pj_strerror(status, errmsg, sizeof(errmsg)); 
    166166 
    167     PJ_LOG(1,(sender, "%s: %s [code=%d]", title, errmsg, status)); 
     167    PJ_LOG(3,(sender, "%s: %s [code=%d]", title, errmsg, status)); 
    168168} 
    169169 
  • pjproject/trunk/pjsip/src/pjsip/sip_transport_tls.c

    r5214 r5244  
    171171    pj_strerror(status, errmsg, sizeof(errmsg)); 
    172172 
    173     PJ_LOG(1,(sender, "%s: %s [code=%d]", title, errmsg, status)); 
     173    PJ_LOG(3,(sender, "%s: %s [code=%d]", title, errmsg, status)); 
    174174} 
    175175 
Note: See TracChangeset for help on using the changeset viewer.