Remove priority_level from yaml file

It is not currently used for anything, will revert when that time comes.
This commit is contained in:
Henri DF 2016-04-12 21:49:54 -07:00
parent f2e9504bb1
commit 8ad7679f7f
3 changed files with 0 additions and 7 deletions

View File

@ -1,10 +1,5 @@
rules_file: /etc/digwatch_rules.conf
# Priority level
# Any rule with priority lower than this level will be discarded
# WARNING currently has no effect!
priority_level: warning
syslog_output:
enabled: false

View File

@ -19,7 +19,6 @@ void digwatch_configuration::init(string conf_filename)
m_config = new yaml_configuration(m_config_file);
m_rules_filename = m_config->get_scalar<string>("rules_file", "/etc/digwatch_rules.conf");
m_priority_level = m_config->get_scalar<string>("priority_level", "warning");
output_config file_output;
file_output.name = "file";

View File

@ -95,7 +95,6 @@ class digwatch_configuration
void init(std::string conf_filename);
void init();
std::string m_rules_filename;
std::string m_priority_level;
std::vector<output_config> m_outputs;
private:
yaml_configuration* m_config;