- limit what we log by default
authorTony Mack <tmack@cs.princeton.edu>
Mon, 20 Aug 2007 19:11:08 +0000 (19:11 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Mon, 20 Aug 2007 19:11:08 +0000 (19:11 +0000)
PLC/Method.py

index 5413dc4..36d345c 100644 (file)
@@ -4,7 +4,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2006 The Trustees of Princeton University
 #
-# $Id: Method.py,v 1.26 2007/05/16 18:54:12 tmack Exp $
+# $Id: Method.py,v 1.27 2007/05/16 18:56:03 tmack Exp $
 #
 
 import xmlrpclib
@@ -92,7 +92,7 @@ class Method:
            result = self.call(*args, **kwds)
            runtime = time.time() - start
 
-            if self.api.config.PLC_API_DEBUG or hasattr(self, 'message'):
+            if self.api.config.PLC_API_DEBUG: #or hasattr(self, 'message'):
                self.log(0, runtime, *args)
                
            return result