- Added support for SyslogSuccess option

- Rationalized logging to be much less verbose unless SyslogSuccess or
   debugLevel are set - default is generally start/stop/errors only
This commit is contained in:
Scott Kitterman
2018-03-10 16:06:22 -05:00
parent f9358d594c
commit 1843ca6244
4 changed files with 25 additions and 12 deletions
+4 -2
View File
@@ -47,7 +47,8 @@ defaultConfigData = {
'IntHosts': False,
'DiagnosticDirectory': '',
'MacroList': '',
'MacroListVerify': ''
'MacroListVerify': '',
'debugLevel': 0 # Undocumented config item for developer use
}
@@ -344,7 +345,8 @@ def _readConfigFile(path, configData=None, configGlobal={}):
'IntHosts': 'bool',
'DiagnosticDirectory': 'str',
'MacroList': 'dataset',
'MacroListVerify': 'dataset'
'MacroListVerify': 'dataset',
'debugLevel': 'int'
}
# check to see if it's a file