diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-10-30 12:57:53 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-10-30 12:57:53 +0100 |
commit | 763bd99a37734417f145e257b398f8aa0de29c0c (patch) | |
tree | 6532e03c769255302a9d3400f7e7b5ecfe2f4318 /src/DabMux.cpp | |
parent | bbf23c4d8acb28eba6da018271330d674b8e8dd4 (diff) | |
download | dabmux-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/DabMux.cpp')
-rw-r--r-- | src/DabMux.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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"); } |