feat(Modules): load modules configs before Log initialization (#6104)
in order to properly load modules appenders and loggers
This commit is contained in:
parent
196f74fdad
commit
c568bdcc42
4 changed files with 15 additions and 9 deletions
|
|
@ -122,6 +122,9 @@ extern int main(int argc, char** argv)
|
|||
if (!sConfigMgr->LoadAppConfigs())
|
||||
return 1;
|
||||
|
||||
// Loading modules configs
|
||||
sConfigMgr->LoadModulesConfigs();
|
||||
|
||||
sLog->RegisterAppender<AppenderDB>();
|
||||
sLog->Initialize();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue