X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethod.py;h=a422b9635832d1ec2071d692f74ed15fcbc83f84;hb=9f55b8855042249e15a86d7ba9c72f44ed313b37;hp=2bed84473bd33e1866c2b4b89ed5d5d95a87c4e5;hpb=950812875ad1720806a559fd34d3dabb6b7b4621;p=plcapi.git diff --git a/PLC/Method.py b/PLC/Method.py index 2bed844..a422b96 100644 --- a/PLC/Method.py +++ b/PLC/Method.py @@ -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)