Mailing List Archive

r3432 - trunk/varnish-cache/bin/varnishd
Author: phk
Date: 2008-11-24 21:21:51 +0100 (Mon, 24 Nov 2008)
New Revision: 3432

Modified:
trunk/varnish-cache/bin/varnishd/cache_vrt_esi.c
Log:
Log debugs with correct id



Modified: trunk/varnish-cache/bin/varnishd/cache_vrt_esi.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_vrt_esi.c 2008-11-24 19:44:36 UTC (rev 3431)
+++ trunk/varnish-cache/bin/varnishd/cache_vrt_esi.c 2008-11-24 20:21:51 UTC (rev 3432)
@@ -282,11 +282,11 @@
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;