diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-01-09 15:00:11 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-01-09 15:26:50 +0100 |
commit | de1685f6d7f169225bba4d1dd5fd767c5ff93b82 (patch) | |
tree | 3c87a43bc392630103f68634518adc36d2c91368 /CommonLibs | |
parent | f3837d26f9856e3989c2916c8f64a030f050c001 (diff) |
Drop use of ConfigurationTable gConfig
After latest changes, it is not being used anymore.
Change-Id: I43a49aee94e3239194ad9742fb6374324acac0de
Diffstat (limited to 'CommonLibs')
-rw-r--r-- | CommonLibs/LogTest.cpp | 4 | ||||
-rw-r--r-- | CommonLibs/Logger.cpp | 5 |
2 files changed, 0 insertions, 9 deletions
diff --git a/CommonLibs/LogTest.cpp b/CommonLibs/LogTest.cpp index 882707d..2245386 100644 --- a/CommonLibs/LogTest.cpp +++ b/CommonLibs/LogTest.cpp @@ -28,10 +28,6 @@ #include <iterator> #include "Logger.h" -#include "Configuration.h" - -ConfigurationTable gConfig; -//ConfigurationTable gConfig("example.config"); void printAlarms() { diff --git a/CommonLibs/Logger.cpp b/CommonLibs/Logger.cpp index 1c462e7..5b8da99 100644 --- a/CommonLibs/Logger.cpp +++ b/CommonLibs/Logger.cpp @@ -32,7 +32,6 @@ #include <stdarg.h> #include <sys/time.h> // For gettimeofday -#include "Configuration.h" #include "Logger.h" #include "Threads.h" // pat added @@ -41,15 +40,11 @@ using namespace std; // Switches to enable/disable logging targets -// MUST BE DEFINED BEFORE gConfig FOR gLogEarly() TO WORK CORRECTLY bool gLogToConsole = true; bool gLogToSyslog = false; FILE *gLogToFile = NULL; Mutex gLogToLock; - -// Reference to a global config table, used all over the system. -extern ConfigurationTable gConfig; // Global log level threshold: int config_log_level; |