Can we see logs from SugaCRM Application If we hit api call

Hi,

Can we see related logs in SugaCRM Application If we hit api call.

Thanks,

Shubhangi

  • Hello

    I am not sure if I understand your question. 

    If you are looking for an API endpoint that retrieves application logs that is currently not possible. 
    Sugar application logs are stored in the sugarcrm.log file that you can download from the Diagnostic Tool. 

    If your goal is to detect in sugarcrm.log if a specific endpoint is being hit. This depends on the endpoint and log level defined in the instance.
    Increasing the log level or adding log lines to your endpoint should help on this scenario. 

    Let me know if this was the information that you were looking for and if not, please provide more details on your specific scenario. 

  • Yes. I got answer.  My query was regarding below:

    If your goal is to detect in sugarcrm.log if a specific endpoint is being hit. This depends on the endpoint and log level defined in the instance.
    Increasing the log level or adding log lines to your endpoint should help on this scenario. 

     

    Thanks.