Logging/Error Reporting
  • 20 Jun 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Logging/Error Reporting

  • Dark
    Light
  • PDF

Article summary

Logging/Error Reporting

The API has the capability to trace request and response information, as well as other information from the API controllers such as exceptions. As mentioned in section 4.3, this feature can be turned on and off in the configuration. The “MinimumLevel” of the tracing can also be set, for filtering which types of messages are logged. Possible levels are, in order, Debug, Info, Warn, Error, Fatal.

When communicating error information to users of the API, conventional HTTP status codes should be used where possible. In general, codes in the 2xx range indicate success, codes in the 4xx range indicate an information error with the request, and codes in the 5xx range indicate an error with the Safran Project Intrgation API server.


Was this article helpful?

What's Next
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence