]> err.no Git - varnish/commitdiff
Log debugs with correct id
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 24 Nov 2008 20:21:51 +0000 (20:21 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 24 Nov 2008 20:21:51 +0000 (20:21 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3432 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_vrt_esi.c

index 69977863c1c5bfced02e44f3e66b479449d30565..9a4a47cc47d3fa1594020338b3c23ff8ae10e608 100644 (file)
@@ -282,11 +282,11 @@ esi_addinclude(struct esi_work *ew, txt t)
        unsigned u, v;
        struct ws *ws;
 
-       VSL(SLT_Debug, 0, "Incl \"%.*s\"", t.e - t.b, t.b);
+       VSL(SLT_Debug, ew->sp->fd, "Incl \"%.*s\"", t.e - t.b, t.b);
        eb = esi_addbit(ew);
        while (esi_attrib(ew, &t, &tag, &val) == 1) {
                if (params->esi_syntax & 0x4)
-                       VSL(SLT_Debug, 0, "<%.*s> -> <%.*s>",
+                       VSL(SLT_Debug, ew->sp->fd, "<%.*s> -> <%.*s>",
                            tag.e - tag.b, tag.b, val.e - val.b, val.b);
                if (Tlen(tag) != 3 || memcmp(tag.b, "src", 3))
                        continue;