]> err.no Git - varnish/commitdiff
Rename SHMlog tags for consistency
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 7 Aug 2006 17:27:16 +0000 (17:27 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 7 Aug 2006 17:27:16 +0000 (17:27 +0000)
XID -> ReqStart
ReqServTime -> ReqEnd

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@747 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_acceptor.c
varnish-cache/bin/varnishd/cache_center.c
varnish-cache/include/shmlog_tags.h

index 8c8f4a5bcd197b78749917e08529403e73454db4..a4ffbdcdc05247113a6bc21f440a406f8d692d50 100644 (file)
@@ -88,7 +88,7 @@ vca_handover(struct sess *sp, int bad)
        sp->step = STP_RECV;
        VSL_stats->client_req++;
        sp->xid = xids++;
-       VSL(SLT_XID, sp->fd, "%u", sp->xid);
+       VSL(SLT_ReqStart, sp->fd, "XID %u", sp->xid);
        WRK_QueueSession(sp);
 }
 
index 8641e17f9738cb3ba6a88196040fad7499a9e676..b14eddee5b21bb9470c1a10f70ece4095c11c7a3 100644 (file)
@@ -106,7 +106,7 @@ cnt_done(struct sess *sp)
        dh = cnt_dt(&sp->t_open, &sp->t_req);
        dp = cnt_dt(&sp->t_req, &sp->t_resp);
        da = cnt_dt(&sp->t_resp, &te);
-       VSL(SLT_ReqServTime, sp->id, "%u %ld.%09ld %.9f %.9f %.9f",
+       VSL(SLT_ReqEnd, sp->id, "%u %ld.%09ld %.9f %.9f %.9f",
            sp->xid, (long)sp->t_req.tv_sec, (long)sp->t_req.tv_nsec,
            dh, dp, da);
 
index d6181eea8b76871c3e77929fa79db1b76f4a59b7..c615231a20c7866b2cd2af529ae39d9532fee407 100644 (file)
@@ -13,7 +13,7 @@ SLTM(Error)
 SLTM(CLI)
 SLTM(StatAddr)
 SLTM(StatSess)
-SLTM(ReqServTime)
+SLTM(ReqEnd)
 SLTM(SessionOpen)
 SLTM(SessionReuse)
 SLTM(SessionClose)
@@ -56,7 +56,7 @@ SLTM(VCL_acl)
 SLTM(VCL_call)
 SLTM(VCL_trace)
 SLTM(VCL_return)
-SLTM(XID)
+SLTM(ReqStart)
 SLTM(Hit)
 SLTM(HitPass)
 SLTM(ExpBan)