#include "pidfile.h"
#include "logger.h"
-GTS::Logger logger;
+SSMD::Logger logger;
static bool running = true;
static bool reload = false;
int main(int argc, char * argv[])
{
- GTS::SettingsParser sParser;
+ SSMD::SettingsParser sParser;
// Set filter for logging
DefaultLog::log()->set_filter(ERROR_LOG, 7);
}
if (sParser.settings().isVersion()) {
- std::cout << "GTS SNMP Switch Management Daemon " << GTS::version << " (revision: " << GTS::revision << ")" << std::endl;
+ std::cout << "SNMP Switch Management Daemon " << SSMD::version << " (revision: " << SSMD::revision << ")" << std::endl;
return 0;
}
return -1;
}
- GTS::PIDFile pf(sParser.settings().PIDFile());
- GTS::Syncer syncer(sParser, snmp);
+ SSMD::PIDFile pf(sParser.settings().PIDFile());
+ SSMD::Syncer syncer(sParser, snmp);
- logger << "Starting gssmd main thread..." << std::endl;
+ logger << "Starting ssmd main thread..." << std::endl;
setSignalHandlers();