Repository: mesos
Updated Branches:
  refs/heads/master f0422cd70 -> 5ce844922


Logged Scheduler HTTP API Requests in the master.

We were not logging the API requests for the HTTP scheduler API.

Review: https://reviews.apache.org/r/37509


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/4588f5a3
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/4588f5a3
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/4588f5a3

Branch: refs/heads/master
Commit: 4588f5a3d6589f189fd9773bc2cf2f8e75511463
Parents: f0422cd
Author: Anand Mazumdar <[email protected]>
Authored: Sun Aug 16 15:46:35 2015 -0700
Committer: Vinod Kone <[email protected]>
Committed: Sun Aug 16 15:46:35 2015 -0700

----------------------------------------------------------------------
 src/master/master.cpp | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/4588f5a3/src/master/master.cpp
----------------------------------------------------------------------
diff --git a/src/master/master.cpp b/src/master/master.cpp
index c5e6c6f..95207d2 100644
--- a/src/master/master.cpp
+++ b/src/master/master.cpp
@@ -760,6 +760,7 @@ void Master::initialize()
   route("/api/v1/scheduler",
         Http::SCHEDULER_HELP,
         [http](const process::http::Request& request) {
+          Http::log(request);
           return http.scheduler(request);
         });
   route("/health",

Reply via email to