summaryrefslogtreecommitdiffstats
path: root/src/MuxElements.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-10-30 12:57:53 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-10-30 12:57:53 +0100
commit763bd99a37734417f145e257b398f8aa0de29c0c (patch)
tree6532e03c769255302a9d3400f7e7b5ecfe2f4318 /src/MuxElements.cpp
parentbbf23c4d8acb28eba6da018271330d674b8e8dd4 (diff)
downloaddabmux-763bd99a37734417f145e257b398f8aa0de29c0c.tar.gz
dabmux-763bd99a37734417f145e257b398f8aa0de29c0c.tar.bz2
dabmux-763bd99a37734417f145e257b398f8aa0de29c0c.zip
Replace emerg log level by alert
emergency is reserved for states where the system becomes unusable, and some configurations send emergency logs to all consoles. That's a bit too drastic for our errors
Diffstat (limited to 'src/MuxElements.cpp')
-rw-r--r--src/MuxElements.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MuxElements.cpp b/src/MuxElements.cpp
index db59078..79aabf6 100644
--- a/src/MuxElements.cpp
+++ b/src/MuxElements.cpp
@@ -385,7 +385,7 @@ void DabComponent::set_parameter(const string& parameter,
throw ParameterError(ss.str());
default:
ss << m_name << " short label definition: program error !";
- etiLog.level(emerg) << ss.str();
+ etiLog.level(alert) << ss.str();
throw ParameterError(ss.str());
}
}
@@ -500,7 +500,7 @@ void DabService::set_parameter(const string& parameter,
throw ParameterError(ss.str());
default:
ss << m_name << " short label definition: program error !";
- etiLog.level(emerg) << ss.str();
+ etiLog.level(alert) << ss.str();
throw ParameterError(ss.str());
}
}