rest_log
This module provides database logging for REST API requests in Odoo, enabling debugging and monitoring of REST service activities.
Key Features
- rest.log: Stores REST API request details including URL, method, parameters, headers, result, and error information.
- rest.log: Computes severity levels for logged errors based on exception types.
- rest.log: Provides automatic cleanup of logs older than the configured retention period.
- rest.log: Allows viewing and managing log entries through a dedicated menu in debug mode.
- configuration: Enables logging activation via service component attribute or system parameters.
- configuration: Supports selective logging configuration for specific collections, usages, endpoints, and states.
- logging: Sanitizes sensitive data such as passwords and API keys in logged parameters and headers.
- logging: Injects the URL of the created log entry into successful REST API responses.
- monitoring: Facilitates debugging and monitoring of REST service activities.