changeset 673:865532790e62

asco don't log every web request. too much "GET /time" Ignore-this: e1bbfba9d162514a699917233474828c
author Drew Perttula <drewp@bigasterisk.com>
date Mon, 20 Jun 2011 20:18:06 +0000
parents 38a17186ef35
children 539de47b68cc
files bin/ascoltami2
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/bin/ascoltami2	Mon Jun 20 18:47:35 2011 +0000
+++ b/bin/ascoltami2	Mon Jun 20 20:18:06 2011 +0000
@@ -7,6 +7,11 @@
 from light9.ascoltami.webapp import makeWebApp
 from light9 import networking, showconfig
 
+
+import BaseHTTPServer
+BaseHTTPServer.BaseHTTPRequestHandler.log_message = \
+                     lambda self, format, *args: None
+
 class App:
     def __init__(self, graph, show):
         self.graph = graph