Log Headers and Content of HTTP Requests in Trace Mode #368
Labels
level/task
Task issue
module/agent
mvp
Minimum Viable Product refinement
type/change
Change performed in a resource or Wazuh Cloud environment
Parent Issue: #241
Description
Currently, the Wazuh Agent logs the endpoint, response status code, headers, and full response content of HTTP requests in debug mode. For example:
Logging headers and the full content of HTTP requests in debug mode generates excessive noise in the logs, making debugging harder rather than easier.
Expected Behavior
Proposed Solution
Refactor the logging logic in the HTTP client to separate logging levels as follows:
The text was updated successfully, but these errors were encountered: