From 77759ea19163547822b0d514d5b4ecb9a9d39ebf Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 24 Nov 2008 20:21:51 +0000 Subject: [PATCH] Log debugs with correct id 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/varnish-cache/bin/varnishd/cache_vrt_esi.c b/varnish-cache/bin/varnishd/cache_vrt_esi.c index 69977863..9a4a47cc 100644 --- a/varnish-cache/bin/varnishd/cache_vrt_esi.c +++ b/varnish-cache/bin/varnishd/cache_vrt_esi.c @@ -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; -- 2.39.5