mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-03 10:12:17 +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
+1
-1
@@ -115,6 +115,7 @@ extern void MapOpcodes();
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
RegisterExecutablePlatform(ExePlatformZone);
|
||||
Log.LoadLogSettingsDefaults();
|
||||
set_exception_handler();
|
||||
const char *zone_name;
|
||||
QServ = new QueryServ;
|
||||
@@ -166,7 +167,6 @@ int main(int argc, char** argv) {
|
||||
}
|
||||
|
||||
/* Register Log System and Settings */
|
||||
Log.LoadLogSettingsDefaults();
|
||||
Log.OnLogHookCallBackZone(&Zone::GMSayHookCallBackProcess);
|
||||
database.LoadLogSysSettings(Log.log_settings);
|
||||
|
||||
|
||||
Reference in new issue
Block a user