r4306 - branches/2.0/varnish-cache/bin/varnishd

tfheen at projects.linpro.no tfheen at projects.linpro.no
Thu Oct 8 16:16:41 CEST 2009


Author: tfheen
Date: 2009-10-08 16:16:41 +0200 (Thu, 08 Oct 2009)
New Revision: 4306

Modified:
   branches/2.0/varnish-cache/bin/varnishd/cache_cli.c
Log:
Merge r4192: Log that the worker stops in the shmlog



Modified: branches/2.0/varnish-cache/bin/varnishd/cache_cli.c
===================================================================
--- branches/2.0/varnish-cache/bin/varnishd/cache_cli.c	2009-10-08 14:09:54 UTC (rev 4305)
+++ branches/2.0/varnish-cache/bin/varnishd/cache_cli.c	2009-10-08 14:16:41 UTC (rev 4306)
@@ -158,8 +158,7 @@
 			continue;
 		assert(i == 1);
 		if (pfd[0].revents & POLLHUP) {
-			fprintf(stderr,
-			    "EOF on CLI connection, exiting\n");
+			VSL(SLT_CLI, 0, "EOF on CLI connection, worker stops");
 			exit(0);
 		}
 		i = VLU_Fd(heritage.cli_in, vlu);



More information about the varnish-commit mailing list