2245 fBlackList.insert(
"DATA_LOGGER/SUBSCRIPTIONS");
2250 const vector<string> vec1 = conf.
Vec<
string>(
"block");
2251 const vector<string> vec2 = conf.
Vec<
string>(
"allow");
2252 const vector<string> vec3 = conf.
Vec<
string>(
"group");
2256 fGrouping.insert( vec3.begin(), vec3.end());
2259 if (conf.
Has(
"run-timeout"))
2261 const uint32_t timeout = conf.
Get<uint32_t>(
"run-timeout");
2264 Error(
"Time out delay for old run numbers must not be 0.");
2271 if (conf.
Has(
"destination-folder"))
2273 const string folder = conf.
Get<
string>(
"destination-folder");
2292 if (conf.
Has(
"stats-interval"))
2301 if (conf.
Has(
"start-daily-files"))
2302 if (conf.
Get<
bool>(
"start-daily-files"))
2306 if (conf.
Has(
"service-list-interval"))
DimWriteStatistics fFilesStats
int fCurrentSubscriptionUpdateRate
Number of seconds since the last update of the subscribed list.
void NotifyOpenedFile(const string &name, int type, DimDescribedService *service)
ofstream fNightlyLogFile
ofstream for the NightlyLogfile
T Get(const std::string &var)
bool fDebugIsOn
configuration flags
string fFilePath
ofstream for the Nightly report file
set< string > fBlackList
black/white listing
std::vector< T > Vec(const std::string &var)
DimDescribedService * fOpenedNightlyFiles
Service for opened files.
void SetUpdateInterval(const int16_t millisec)
bool Has(const std::string &var)
uint32_t fRunNumberTimeout
old run numbers time-out delay (in seconds)
int Error(const std::string &str)
vector< string > backLogBuffer
bool OpenTextFile(ofstream &stream, const string &name)
Subscribe to a given server and service.
bool SetCurrentFolder(const std::string &folder)
Configures that current folder where files are written to.
string fFullNightlyLogFileName
full name of the nightly log file
set< string > fGrouping
list of services to be grouped
string CompileFileNameWithPath(const string &path, const string &service, const string &extension)
Get the digits of year, month and day for filenames and paths.