Commits

jordilin committed cbcb87f

better conditional

  • Participants
  • Parent commits 82d106d

Comments (0)

Files changed (1)

log4client/src/log4tailer/notifications.py

     def notify(self, message, log):
         Print.notify(self, message, log)
         msg_level = message.messageLevel.upper()
-        if not message.isATarget() and msg_level not in self.Pullers:
-            return
-        self.caller.call(self.screenproc)
+        if message.isATarget() or msg_level in self.Pullers:
+            self.caller.call(self.screenproc)
 
 
 class Inactivity(object):