You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by su...@apache.org on 2015/05/07 01:07:41 UTC

trafficserver git commit: [TS-3586]: Add redirection_tries to the slow log to indicate how many redirect follows occured on the txn

Repository: trafficserver
Updated Branches:
  refs/heads/master 304a7fee2 -> a65980b65


[TS-3586]: Add redirection_tries to the slow log to indicate
how many redirect follows occured on the txn


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

Branch: refs/heads/master
Commit: a65980b65a348fe4da5b1035bf36aafe20c26e08
Parents: 304a7fe
Author: Sudheer Vinukonda <su...@yahoo-inc.com>
Authored: Wed May 6 23:01:38 2015 +0000
Committer: Sudheer Vinukonda <su...@yahoo-inc.com>
Committed: Wed May 6 23:01:38 2015 +0000

----------------------------------------------------------------------
 proxy/http/HttpSM.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a65980b6/proxy/http/HttpSM.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index 68bf5ed..516a8a5 100644
--- a/proxy/http/HttpSM.cc
+++ b/proxy/http/HttpSM.cc
@@ -6709,6 +6709,7 @@ HttpSM::update_stats()
           "url: %s "
           "status: %d "
           "unique id: %s "
+          "redirection_tries: %d "
           "bytes: %" PRId64 " "
           "fd: %d "
           "client state: %d "
@@ -6727,7 +6728,7 @@ HttpSM::update_stats()
           "ua_close: %.3f "
           "sm_finish: %.3f",
           sm_id, client_ip, ats_ip_port_host_order(&t_state.client_info.addr), url_string, status, unique_id_string,
-          client_response_body_bytes, fd, t_state.client_info.state, t_state.server_info.state,
+          redirection_tries, client_response_body_bytes, fd, t_state.client_info.state, t_state.server_info.state,
           milestone_difference(milestones.sm_start, milestones.ua_begin),
           milestone_difference(milestones.sm_start, milestones.ua_first_read),
           milestone_difference(milestones.sm_start, milestones.ua_read_header_done),