mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 12:18:27 +00:00
Placing Log defaults after RegisterExecutablePlatform and installing database log setting loads right after database connection for all processes
This commit is contained in:
+1
-1
@@ -113,6 +113,7 @@ void CatchSignal(int sig_num);
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
RegisterExecutablePlatform(ExePlatformWorld);
|
||||
Log.LoadLogSettingsDefaults();
|
||||
set_exception_handler();
|
||||
|
||||
/* Database Version Check */
|
||||
@@ -183,7 +184,6 @@ int main(int argc, char** argv) {
|
||||
guild_mgr.SetDatabase(&database);
|
||||
|
||||
/* Register Log System and Settings */
|
||||
Log.LoadLogSettingsDefaults();
|
||||
database.LoadLogSysSettings(Log.log_settings);
|
||||
|
||||
if (argc >= 2) {
|
||||
|
||||
Reference in New Issue
Block a user