57 if (!std::filesystem::exists(inpfilename)) {
58 LOG(fatal) << inpfilename <<
" : config file does not exist!";
61 boost::property_tree::ptree pt;
63 if (boost::iends_with(inpfilename,
".ini")) {
65 }
else if (boost::iends_with(inpfilename,
".json")) {
68 LOG(fatal) <<
"Configuration file must have either .ini or .json extension";