diff options
Diffstat (limited to 'src/Log.h')
-rw-r--r-- | src/Log.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -6,20 +6,20 @@ Copyright (C), 2014, Matthias P. Braendli, matthias.braendli@mpb.li */ /* - This file is part of CRC-DADMOD. + This file is part of ODR-DabMux. - CRC-DADMOD is free software: you can redistribute it and/or modify + ODR-DabMux is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - CRC-DADMOD is distributed in the hope that it will be useful, + ODR-DabMux is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with CRC-DADMOD. If not, see <http://www.gnu.org/licenses/>. + along with ODR-DabMux. If not, see <http://www.gnu.org/licenses/>. */ #ifndef _LOG_H @@ -40,7 +40,7 @@ #include <string> #include <map> -#define SYSLOG_IDENT "CRC-DABMUX" +#define SYSLOG_IDENT "ODR-DabMux" #define SYSLOG_FACILITY LOG_LOCAL0 enum log_level_t {debug = 0, info, warn, error, alert, emerg}; @@ -112,7 +112,7 @@ class LogToFile : public LogBackend { {"DEBUG", "INFO", "WARN", "ERROR", "ALERT", "EMERG"}; // fprintf is thread-safe - fprintf(log_file, "CRC-DABMUX: %s: %s\n", + fprintf(log_file, "ODR-DabMux: %s: %s\n", log_level_text[(size_t)level], message.c_str()); fflush(log_file); } |