]> err.no Git - varnish/commitdiff
less noise
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 15 Jun 2006 08:04:46 +0000 (08:04 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 15 Jun 2006 08:04:46 +0000 (08:04 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@188 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/mgt_child.c

index 01408e4b9b53ba9c1e8eb1f7ab93d6ffd37f4507..62695fe73be11487a06a419f6c776c4447a5cdcb 100644 (file)
@@ -99,7 +99,8 @@ send_req(void)
        cr = TAILQ_FIRST(&creqhead);
        if (cr == NULL)
                return;
-       printf("Send Request <%s>\n", cr->req);
+       if (0)
+               printf("Send Request <%s>\n", cr->req);
        evbuffer_add_printf(child_cli1->output, "%s", cr->req);
        for (u = 0; cr->argv != NULL && cr->argv[u] != NULL; u++) {
                evbuffer_add_printf(child_cli1->output, " ");
@@ -173,7 +174,6 @@ cli_excb(struct bufferevent *bev, short what, void *arg)
 static void
 child_pingpong_ccb(unsigned u, const char *r, void *priv)
 {
-       printf("%s(%u, \"%s\", %p)\n", __func__, u, r, priv);
        /* XXX: reset keepalive timer */
 }
 
@@ -184,7 +184,6 @@ child_pingpong(int a, short b, void *c)
        time_t t;
        struct timeval tv;
 
-       printf("%s(%d, %d, %p)\n", __func__, a, b, c);
        time(&t);
        mgt_child_request(child_pingpong_ccb, NULL, NULL, "ping %ld", t);
        if (1) {