r4755 - trunk/varnish-cache/bin/varnishd
phk at varnish-cache.org
phk at varnish-cache.org
Mon May 3 13:49:15 CEST 2010
Author: phk
Date: 2010-05-03 13:49:15 +0200 (Mon, 03 May 2010)
New Revision: 4755
Modified:
trunk/varnish-cache/bin/varnishd/varnishd.c
Log:
Syslog the platform we are running on.
Modified: trunk/varnish-cache/bin/varnishd/varnishd.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/varnishd.c 2010-05-03 09:50:13 UTC (rev 4754)
+++ trunk/varnish-cache/bin/varnishd/varnishd.c 2010-05-03 11:49:15 UTC (rev 4755)
@@ -680,7 +680,8 @@
fprintf(stderr, "NOTE: Could not write PID file\n");
if (d_flag)
- fprintf(stderr, "Varnish on %s\n", vsb_data(vident) + 1);
+ fprintf(stderr, "Platform: %s\n", vsb_data(vident) + 1);
+ syslog(LOG_NOTICE, "Platform: %s\n", vsb_data(vident) + 1);
/* Do this again after debugstunt and daemon has run */
mgt_pid = getpid();
More information about the varnish-commit
mailing list