7 Replies Latest reply on Jan 21, 2014 1:42 AM by Kutir Mobility

    how to turn off logging on "AsyncHttp" module?

    Bhoomesh gupta

      Now, app logs RhoMobile logs like below for following errors on the device console log

       

      For HTTP-400 error:

      E 12/12/2013 11:30:16:014 00000a52                  Net| Request failed. HTTP Code: 400 returned. HTTP Response: blah blah blah blah...

       

      For Request time out:

      E 12/12/2013 11:29:18:253 00000a52                  Net| Operation finished with error 28: Timeout was reached

      E 12/12/2013 11:29:18:254 00000a52                  Net|   CURLNetRequest: METHOD = [POST] URL = [https://XXXXX] BODY = [XXXX]

       

      I don't want to print to above Bold text on device console. Is there any way to log only error message neither request body nor response body?

       

      In my RhoConfig file MinSeverity set to '3'. Above are the errors. so, rho mobile logs errors to the console. But, i want to restrict part of the message.

       

      Thanks in advance.