do not log ReportRunLevel
authorTony Mack <tmack@cs.princeton.edu>
Fri, 16 Oct 2009 00:13:29 +0000 (00:13 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Fri, 16 Oct 2009 00:13:29 +0000 (00:13 +0000)
PLC/Method.py

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