Dont long system, Get or ReportRunlevel calls
[plcapi.git] / 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)