What logging level should you use to indicate that a REST API call failed but continuation is possible?

Prepare for the Mendix Advanced Certification Exam with our comprehensive quiz. Use flashcards and multiple choice questions to enhance learning. Each question comes with hints and explanations to maximize understanding. Set yourself up for success!

Using the warning logging level is appropriate to indicate that a REST API call has failed but that the application can continue functioning. A warning signifies that there is a potential issue that requires attention but does not prevent the application from executing its operations.

In the context of logging, the warning level effectively communicates to developers or system administrators that while there was a problem—such as a failed API request—the system is still operational. It suggests that further investigation may be needed but does not necessitate immediate remedial action like an error might. This is essential in scenarios where resilient designs are in place, allowing for graceful degradation or alternative workflows.

The other logging levels have different connotations: error suggests a more severe issue that typically halts processing, info is generally for informative messages indicating successful operations, and debug is intended for detailed diagnostic information useful during development and troubleshooting but not typically for operational status reporting.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy