From 763bd99a37734417f145e257b398f8aa0de29c0c Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 30 Oct 2016 12:57:53 +0100 Subject: 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 --- src/DabMux.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/DabMux.cpp') diff --git a/src/DabMux.cpp b/src/DabMux.cpp index 79a8573..32ddb39 100644 --- a/src/DabMux.cpp +++ b/src/DabMux.cpp @@ -409,7 +409,7 @@ int main(int argc, char *argv[]) if (outputs.size() == 0) { - etiLog.log(emerg, "no output defined"); + etiLog.log(alert, "no output defined"); throw MuxInitException(); } @@ -489,7 +489,7 @@ int main(int argc, char *argv[]) outputs.clear(); if (returnCode != 0) { - etiLog.log(emerg, "...aborting\n"); + etiLog.log(alert, "...aborting\n"); } else { etiLog.log(debug, "...done\n"); } -- cgit v1.2.3