mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 23:17:16 +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 parent
931134688a
commit
7f2f6a8612
5 files changed
+5
-4
No files matched your search
@@ -52,6 +52,7 @@ void CatchSignal(int sig_num) {
|
||||
|
||||
int main() {
|
||||
RegisterExecutablePlatform(ExePlatformQueryServ);
|
||||
Log.LoadLogSettingsDefaults();
|
||||
set_exception_handler();
|
||||
Timer LFGuildExpireTimer(60000);
|
||||
Timer InterserverTimer(INTERSERVER_TIMER); // does auto-reconnect
|
||||
@@ -89,7 +90,6 @@ int main() {
|
||||
}
|
||||
|
||||
/* Register Log System and Settings */
|
||||
Log.LoadLogSettingsDefaults();
|
||||
database.LoadLogSysSettings(Log.log_settings);
|
||||
|
||||
if (signal(SIGINT, CatchSignal) == SIG_ERR) {
|
||||
|
||||
Reference in new issue
Block a user