Link client side log records to backend side log records with the "Backend"
record.
Content is:
Fd# of backend connection
VCL name of director
VCL name of chosen backend.
Spotted by: sky
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3212
d4fa192b-c00b-0410-8231-
f00ffab90ce4
/* XXX locking of stats */
VSL_stats->backend_reuse += 1;
VSL_stats->backend_conn++;
+ WSP(sp, SLT_Backend, "%d %s %s",
+ vc->fd, sp->director->vcl_name, bp->vcl_name);
return (vc);
}
sp->vbe = vc;
}
vc->backend = bp;
VSL_stats->backend_conn++;
+ WSP(sp, SLT_Backend, "%d %s %s",
+ vc->fd, sp->director->vcl_name, bp->vcl_name);
return (vc);
}