diff options
Diffstat (limited to 'bin/tools')
| -rw-r--r-- | bin/tools/config.py | 2 | ||||
| -rw-r--r-- | bin/tools/yaml_tag.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/tools/config.py b/bin/tools/config.py index 670c20af1af..18e9f61373e 100644 --- a/bin/tools/config.py +++ b/bin/tools/config.py @@ -77,7 +77,7 @@ class configmanager(object): 'secure' : False, 'syslog' : False, 'log_level': logging.INFO, - 'assert_exit_level': logging.WARNING, # level above which a failed assert will be raised + 'assert_exit_level': logging.ERROR, # level above which a failed assert will be raised 'cache_timeout': 100000, 'login_message': False, 'list_db' : True, diff --git a/bin/tools/yaml_tag.py b/bin/tools/yaml_tag.py index 97b29db1ac0..cdc892d9b80 100644 --- a/bin/tools/yaml_tag.py +++ b/bin/tools/yaml_tag.py @@ -15,7 +15,7 @@ class YamlTag(object): return "<%s %s>" % (self.__class__.__name__, sorted(self.__dict__.items())) class Assert(YamlTag): - def __init__(self, model, id, severity=logging.ERROR, string="NONAME", **kwargs): + def __init__(self, model, id, severity=logging.WARNING, string="NONAME", **kwargs): self.model = model self.id = id self.severity = severity @@ -29,7 +29,7 @@ class Record(YamlTag): super(Record, self).__init__(**kwargs) class Python(YamlTag): - def __init__(self, model, severity=logging.ERROR, name="", **kwargs): + def __init__(self, model, severity=logging.WARNING, name="", **kwargs): self.model= model self.severity = severity self.name = name |
