added default-directnotify-level

This commit is contained in:
Darren Ranalli 2004-08-13 21:21:34 +00:00
parent 8ab8656e3e
commit 790eff0faa

View File

@ -73,6 +73,11 @@ class DirectNotify:
dconfigParam = ("notify-level-" + categoryName)
level = config.GetString(dconfigParam, "")
if not level:
# see if there's an override of the default config level
level = config.GetString('default-directnotify-level', '')
if level:
print ("Setting DirectNotify category: " + categoryName +
" to severity: " + level)