Enable debugging

In order to track all issues with the registrar module, you can enable debugging as follow.

Enable logs in the module

In order to enable module logs, edit the registrar module settings and set the information below:

  • log Function
    If set to true, an entry in the logs will be created for each new function called in the module with its parameters (in the request) and its return (in the response).
    So, it is possible to know which parameters were given by FOSSBilling to the module as well as what the module returned to FOSSBilling for a particular function call.
  • log API Function
    If set to true, an entry in the logs will be created for every API call with its parameters (in the request) and its result (in the response).
    So, it is possible to track all communications between the module and Netim through the API.

Log management

The software doesn’t offer a complete log management. Thus, the module manages its logs in a file which will be written in the following directory:

/library/Registrar/Adapter/Netim/logs

If the module is unable to write the logs, ensure that the directory exists and has at least the rights set to 644 or 777