From: Tony Mack Date: Mon, 20 Aug 2007 19:11:08 +0000 (+0000) Subject: - limit what we log by default X-Git-Tag: PLCAPI-4.2-0~91 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=3c8c8d3ea30ab069447f54881fa23b1d50e0a6a1;p=plcapi.git - limit what we log by default --- diff --git a/PLC/Method.py b/PLC/Method.py index 5413dc4..36d345c 100644 --- a/PLC/Method.py +++ b/PLC/Method.py @@ -4,7 +4,7 @@ # Mark Huang # 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