Alexander Rukletsov created MESOS-3878:
------------------------------------------

             Summary: Log responses for HTTP requests
                 Key: MESOS-3878
                 URL: https://issues.apache.org/jira/browse/MESOS-3878
             Project: Mesos
          Issue Type: Task
          Components: libprocess
            Reporter: Alexander Rukletsov


When an HTTP request comes in, we log it twice: in the libprocess using 
{{VLOG}} and in Mesos route handlers using {{LOG(INFO)}} (see MESOS-2519). 
However, we do not log the response, neither a successful one, nor even an 
error.

In order to simplify debugging, I suggest we at least add symmetric logging for 
*all* responses at the libprocess level using the same logging level as it is 
used now for incoming requests. We may want to additionally log messages for 
error responses (e.g. {{BadRequest}}, {{Conflict}} in Mesos with {{LOG(ERROR)}} 
level, providing additional information like time took to process the request.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to