mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 16:41:29 +00:00
Remove LogSettingsFile from config parsers which removes log.ini completely
This commit is contained in:
parent
d45bc6d26a
commit
7503e29211
@ -254,10 +254,6 @@ void EQEmuConfig::do_files(TiXmlElement *ele)
|
|||||||
if (text) {
|
if (text) {
|
||||||
OpCodesFile = text;
|
OpCodesFile = text;
|
||||||
}
|
}
|
||||||
text = ParseTextBlock(ele, "logsettings", true);
|
|
||||||
if (text) {
|
|
||||||
LogSettingsFile = text;
|
|
||||||
}
|
|
||||||
text = ParseTextBlock(ele, "eqtime", true);
|
text = ParseTextBlock(ele, "eqtime", true);
|
||||||
if (text) {
|
if (text) {
|
||||||
EQTimeFile = text;
|
EQTimeFile = text;
|
||||||
@ -415,9 +411,6 @@ std::string EQEmuConfig::GetByName(const std::string &var_name) const
|
|||||||
if (var_name == "EQTimeFile") {
|
if (var_name == "EQTimeFile") {
|
||||||
return (EQTimeFile);
|
return (EQTimeFile);
|
||||||
}
|
}
|
||||||
if (var_name == "LogSettingsFile") {
|
|
||||||
return (LogSettingsFile);
|
|
||||||
}
|
|
||||||
if (var_name == "MapDir") {
|
if (var_name == "MapDir") {
|
||||||
return (MapDir);
|
return (MapDir);
|
||||||
}
|
}
|
||||||
@ -483,7 +476,6 @@ void EQEmuConfig::Dump() const
|
|||||||
std::cout << "SpellsFile = " << SpellsFile << std::endl;
|
std::cout << "SpellsFile = " << SpellsFile << std::endl;
|
||||||
std::cout << "OpCodesFile = " << OpCodesFile << std::endl;
|
std::cout << "OpCodesFile = " << OpCodesFile << std::endl;
|
||||||
std::cout << "EQTimeFile = " << EQTimeFile << std::endl;
|
std::cout << "EQTimeFile = " << EQTimeFile << std::endl;
|
||||||
std::cout << "LogSettingsFile = " << LogSettingsFile << std::endl;
|
|
||||||
std::cout << "MapDir = " << MapDir << std::endl;
|
std::cout << "MapDir = " << MapDir << std::endl;
|
||||||
std::cout << "QuestDir = " << QuestDir << std::endl;
|
std::cout << "QuestDir = " << QuestDir << std::endl;
|
||||||
std::cout << "PluginDir = " << PluginDir << std::endl;
|
std::cout << "PluginDir = " << PluginDir << std::endl;
|
||||||
|
|||||||
@ -80,7 +80,6 @@ class EQEmuConfig : public XMLParser
|
|||||||
std::string SpellsFile;
|
std::string SpellsFile;
|
||||||
std::string OpCodesFile;
|
std::string OpCodesFile;
|
||||||
std::string EQTimeFile;
|
std::string EQTimeFile;
|
||||||
std::string LogSettingsFile;
|
|
||||||
|
|
||||||
// From <directories/>
|
// From <directories/>
|
||||||
std::string MapDir;
|
std::string MapDir;
|
||||||
@ -156,7 +155,6 @@ class EQEmuConfig : public XMLParser
|
|||||||
SpellsFile = "spells_us.txt";
|
SpellsFile = "spells_us.txt";
|
||||||
OpCodesFile = "opcodes.conf";
|
OpCodesFile = "opcodes.conf";
|
||||||
EQTimeFile = "eqtime.cfg";
|
EQTimeFile = "eqtime.cfg";
|
||||||
LogSettingsFile = "log.ini";
|
|
||||||
// Dirs
|
// Dirs
|
||||||
MapDir = "Maps";
|
MapDir = "Maps";
|
||||||
QuestDir = "quests";
|
QuestDir = "quests";
|
||||||
|
|||||||
@ -201,8 +201,6 @@ int main(int argc, char** argv) {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const char *log_ini_file = "./log.ini";
|
|
||||||
|
|
||||||
Log.Out(Logs::Detail, Logs::Zone_Server, "Mapping Incoming Opcodes");
|
Log.Out(Logs::Detail, Logs::Zone_Server, "Mapping Incoming Opcodes");
|
||||||
MapOpcodes();
|
MapOpcodes();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user