r3629 - branches/2.0/varnish-cache/bin/varnishd
tfheen at projects.linpro.no
tfheen at projects.linpro.no
Thu Feb 5 13:50:51 CET 2009
Author: tfheen
Date: 2009-02-05 13:50:50 +0100 (Thu, 05 Feb 2009)
New Revision: 3629
Modified:
branches/2.0/varnish-cache/bin/varnishd/cache_pool.c
Log:
Merge r3425: Log write errors under SLT_Debug.
Modified: branches/2.0/varnish-cache/bin/varnishd/cache_pool.c
===================================================================
--- branches/2.0/varnish-cache/bin/varnishd/cache_pool.c 2009-02-05 12:47:34 UTC (rev 3628)
+++ branches/2.0/varnish-cache/bin/varnishd/cache_pool.c 2009-02-05 12:50:50 UTC (rev 3629)
@@ -126,6 +126,9 @@
i = writev(*w->wfd, w->iov, w->niov);
if (i != w->liov)
w->werr++;
+ WSL(w, SLT_Debug, *w->wfd,
+ "Write error, len = %d/%d, errno = %s",
+ i, w->liov, strerror(errno));
}
w->liov = 0;
w->niov = 0;
More information about the varnish-commit
mailing list