Dont long system, Get or ReportRunlevel calls
authorTony Mack <tmack@cs.princeton.edu>
Thu, 15 Oct 2009 21:40:22 +0000 (21:40 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Thu, 15 Oct 2009 21:40:22 +0000 (21:40 +0000)
PLC/Method.py

index 942549d..52c6b20 100644 (file)
@@ -125,8 +125,8 @@ class Method (object):
         """    
 
        # Do not log system or Get calls
-        #if self.name.startswith('system') or self.name.startswith('Get'):
-        #    return False
+        if self.name.startswith('system') or self.name.startswith('Get') or self.name.startswith('ReportRunlevel') :
+            return False
 
         # Create a new event
         event = Event(self.api)