|
@@ -79,8 +79,10 @@ class DirectNotify:
|
|
|
level = config.GetString('default-directnotify-level', '')
|
|
level = config.GetString('default-directnotify-level', '')
|
|
|
|
|
|
|
|
if level:
|
|
if level:
|
|
|
- print ("Setting DirectNotify category: " + categoryName +
|
|
|
|
|
- " to severity: " + level)
|
|
|
|
|
|
|
+ # Note - this print statement is making it difficult to
|
|
|
|
|
+ # achieve "no output unless there's an error" operation - Josh
|
|
|
|
|
+ # print ("Setting DirectNotify category: " + categoryName +
|
|
|
|
|
+ # " to severity: " + level)
|
|
|
category = self.getCategory(categoryName)
|
|
category = self.getCategory(categoryName)
|
|
|
if level == "error":
|
|
if level == "error":
|
|
|
category.setWarning(0)
|
|
category.setWarning(0)
|