STG_LOGGER & WriteServLog = GetStgLogger();
if (settings->GetLogFileName() != "")
WriteServLog.SetLogFileName(settings->GetLogFileName());
-
WriteServLog("ReadSettings error. %s", settings->GetStrError().c_str());
exit(1);
}
}
printfd(__FILE__, "--- End dump ---\n");
/*************************************************************************************************/
-
#ifndef NO_DAEMON
std::string startFile(settings->GetConfDir() + START_FILE);
#endif
const MODULE_SETTINGS & GetStoreModuleSettings() const
{ return storeModuleSettings; }
const std::vector<MODULE_SETTINGS> & GetModulesSettings() const
- { return modulesSettings; }
-
+ { return modulesSettings; }
const std::vector<std::string> & GetScriptParams() const { return scriptParams; }
private:
std::string rules;
std::string logFile;
std::string pidFile;
- std::string monitorDir;
-
+ std::string monitorDir;
std::vector<std::string> scriptParams;
-
bool monitoring;
unsigned detailStatWritePeriod;
unsigned statWritePeriod;
bool reconnectOnTariffChange;
std::vector<MODULE_SETTINGS> modulesSettings;
- MODULE_SETTINGS storeModuleSettings;
-
+ MODULE_SETTINGS storeModuleSettings;
STG_LOGGER & logger;
};
//-----------------------------------------------------------------------------