r4192 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Tue Aug 18 12:12:32 CEST 2009


Author: phk
Date: 2009-08-18 12:12:32 +0200 (Tue, 18 Aug 2009)
New Revision: 4192

Modified:
   trunk/varnish-cache/bin/varnishd/cache_cli.c
Log:
Log that the worker stops in the shmlog



Modified: trunk/varnish-cache/bin/varnishd/cache_cli.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_cli.c	2009-08-18 10:08:02 UTC (rev 4191)
+++ trunk/varnish-cache/bin/varnishd/cache_cli.c	2009-08-18 10:12:32 UTC (rev 4192)
@@ -159,8 +159,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");
 			break;
 		}
 		i = VLU_Fd(heritage.cli_in, vlu);



More information about the varnish-commit mailing list