fix (core/logging/conf): Fix Logging for Modules (#11601)

* fix (core/logging/conf): Fix Logging for Modules

Fix custom module logging and appender. Also included Logging Async Conf.

* Update Log.cpp

* Core/Logging: Force synchronous logging after io_service shutdown - fixes logging on worldserver shutdown

https: //github.com/TrinityCore/TrinityCore/commit/c71987b1a1403fa20654cc24b37448ca807ff363
Co-Authored-By: Shauren <shauren.trinity@gmail.com>

Co-authored-by: Shauren <shauren.trinity@gmail.com>
This commit is contained in:
acidmanifesto 2022-05-19 09:54:08 -04:00 committed by GitHub
parent c5368816fa
commit 76d57065e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 58 additions and 12 deletions

View file

@ -98,7 +98,7 @@ int main(int argc, char** argv)
// Init logging
sLog->RegisterAppender<AppenderDB>();
sLog->Initialize();
sLog->Initialize(nullptr);
Acore::Banner::Show("authserver",
[](std::string_view text)