From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id A095037A6 for ; Wed, 10 Feb 2016 11:06:39 +0100 (CET) Received: by mail-wm0-f47.google.com with SMTP id p63so19199531wmp.1 for ; Wed, 10 Feb 2016 02:06:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8pdcZhZc4gyDFHZXWqoYqoSGMDsumTmYz0gEeJk3C0A=; b=YXknTrz6hNebxaXrGn7r66tB3iw7RJ9bLvHFg2+VAyBrsHmwhQxTqwA8MD62WV7RoO g/x8O9QtsPMnRFHv+JB9r+3gBVwfDgaG0j72hj1HHxyg9+9qqJ7tSvCWBGYPffO5VyZz SG7EpOlhSJTKsVMWe3WipthWQ1OCZqeul5oCuXvQIDTS1ELYxbqcwL6emq9mv1oz21IJ YK8zjfoDqqq54sFeK5Cg0EqcZJ4yaxKqxRChZl0AQIr0/pxNFKlP1GDHNEaD21KBUNBZ lWcXCWZhV+uyYxwUre/2d8Wwcu8m2Ji0p1OIjLuBcUmM1zGFhYq76ooeWr/ixPSKsuov De6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8pdcZhZc4gyDFHZXWqoYqoSGMDsumTmYz0gEeJk3C0A=; b=YsqVC+brUM8Y2N28FXWLCg8mkim+ZfTwC30k9q4PDMG4KQ7F0Q4fX8TwEMZHzb07Ld CvvMrShoHnWIdgMecl6oUOW+uM/vAtYY6Mn68jEFcsqldNUD+OKCayeqGHzTNvHvvgCd ODN1OEffyqThG8FHmkH/XKYGgOglgWsN69pz1mdrgryxbcHBoavnj+oTX0lDjmJW8KX0 FNiV1l6hFqCylP2xWeoITH/iz6VLUyihnA8QJC09QTZnLL8gFhe0cAPTGBIdwjOE6iy9 858W8RL7kM6/1lm/mAuHydxSHMCeC71S4eZyqdPHCvL8fn9jsu8QW4DkIfNahMutiGOY jnOQ== X-Gm-Message-State: AG10YORUjvvWO+I9i4X0+dWkIN/8STGY58l517feiKtsrzmMPXHiv+uNZTUMN4rGnUNHWuap X-Received: by 10.28.88.81 with SMTP id m78mr10529669wmb.58.1455098799546; Wed, 10 Feb 2016 02:06:39 -0800 (PST) Received: from localhost.localdomain (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id hm9sm2185564wjb.34.2016.02.10.02.06.38 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 10 Feb 2016 02:06:39 -0800 (PST) From: Thomas Monjalon To: harry.van.haaren@intel.com Date: Wed, 10 Feb 2016 11:05:05 +0100 Message-Id: <1455098706-23765-3-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1455098706-23765-1-git-send-email-thomas.monjalon@6wind.com> References: <1455098706-23765-1-git-send-email-thomas.monjalon@6wind.com> Cc: web@dpdk.org Subject: [dpdk-web] [PATCH 2/3] local: silent server output X-BeenThere: web@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: website maintenance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 10:06:39 -0000 The default HTTP handler prints every request on stdout. This empty log_message will make it quiet. Signed-off-by: Thomas Monjalon --- scripts/serve_local.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/serve_local.py b/scripts/serve_local.py index 5abd9ad..bf05e86 100644 --- a/scripts/serve_local.py +++ b/scripts/serve_local.py @@ -40,6 +40,8 @@ class DPDK_Handler(BaseHTTPServer.BaseHTTPRequestHandler): f.close() except IOError: self.send_error(404, 'File Not Found: %s' % path) + def log_message(self, format, *args): + return def run(server_class=BaseHTTPServer.HTTPServer, handler_class=BaseHTTPServer.BaseHTTPRequestHandler): -- 2.7.0