Browse Source

Removed two log lines since they theoretically end up in cerr.

merge-requests/365/head
Jørgen Lien Sellæg 10 years ago
parent
commit
23e9068dbb
  1. 2
      src/config.cc

2
src/config.cc

@ -158,7 +158,6 @@ void MainConfig::GenerateSource() {
void MainConfig::GenerateDirectoryFilter() { void MainConfig::GenerateDirectoryFilter() {
auto dir_cfg=Singleton::Config::directories(); auto dir_cfg=Singleton::Config::directories();
JDEBUG("Fetching directory filter");
boost::property_tree::ptree dir_json = cfg.get_child("directoryfilter"); boost::property_tree::ptree dir_json = cfg.get_child("directoryfilter");
boost::property_tree::ptree ignore_json = dir_json.get_child("ignore"); boost::property_tree::ptree ignore_json = dir_json.get_child("ignore");
boost::property_tree::ptree except_json = dir_json.get_child("exceptions"); boost::property_tree::ptree except_json = dir_json.get_child("exceptions");
@ -166,7 +165,6 @@ void MainConfig::GenerateDirectoryFilter() {
dir_cfg->exceptions.emplace_back(i.second.get_value<std::string>()); dir_cfg->exceptions.emplace_back(i.second.get_value<std::string>());
for ( auto &i : ignore_json ) for ( auto &i : ignore_json )
dir_cfg->ignored.emplace_back(i.second.get_value<std::string>()); dir_cfg->ignored.emplace_back(i.second.get_value<std::string>());
JDEBUG("Directory filter fetched");
} }
std::vector<std::string> MainConfig::init_home_path(){ std::vector<std::string> MainConfig::init_home_path(){
std::vector<std::string> locations = JUCI_ENV_SEARCH_LOCATIONS; std::vector<std::string> locations = JUCI_ENV_SEARCH_LOCATIONS;

Loading…
Cancel
Save