mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-28 13:32:17 +00:00
[Logging] Simplify Log Settings Initialization (#1394)
* Simplify logging loading * Fix log injections and reduce verbosity
This commit is contained in:
1 parent
0e4361955d
commit
bcb0e43d13
21 files changed
+154
-481
No files matched your search
+3
-3
@@ -97,9 +97,9 @@ int main() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* Register Log System and Settings */
|
||||
database.LoadLogSettings(LogSys.log_settings);
|
||||
LogSys.StartFileLogs();
|
||||
LogSys.SetDatabase(&database)
|
||||
->LoadLogDatabaseSettings()
|
||||
->StartFileLogs();
|
||||
|
||||
char tmp[64];
|
||||
|
||||
|
||||
Reference in new issue
Block a user