diff --git a/digwatch.yaml b/digwatch.yaml index bc6c41ff..bfaf2a4a 100644 --- a/digwatch.yaml +++ b/digwatch.yaml @@ -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 diff --git a/userspace/digwatch/configuration.cpp b/userspace/digwatch/configuration.cpp index 06706b27..71a74b3e 100644 --- a/userspace/digwatch/configuration.cpp +++ b/userspace/digwatch/configuration.cpp @@ -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("rules_file", "/etc/digwatch_rules.conf"); - m_priority_level = m_config->get_scalar("priority_level", "warning"); output_config file_output; file_output.name = "file"; diff --git a/userspace/digwatch/configuration.h b/userspace/digwatch/configuration.h index 056976ea..11f99e8a 100644 --- a/userspace/digwatch/configuration.h +++ b/userspace/digwatch/configuration.h @@ -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 m_outputs; private: yaml_configuration* m_config;