- std::string method = Conf->ReadValue("log", "method", index);
- if (method != "file") continue;
- std::string type = Conf->ReadValue("log", "type", index);
- std::string level = Conf->ReadValue("log", "level", index);
- int loglevel = DEFAULT;
- if (level == "debug" || ServerInstance->Config->forcedebug)
+ ConfigTag* tag = i->second;
+ std::string method = tag->getString("method");
+ if (!stdalgo::string::equalsci(method, "file"))