From 9f55b8855042249e15a86d7ba9c72f44ed313b37 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Fri, 16 Oct 2009 00:13:29 +0000 Subject: [PATCH] do not log ReportRunLevel --- PLC/Method.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- 2.43.0