Updated the logging system

This commit is contained in:
WolverinDEV
2019-11-23 21:16:55 +01:00
parent b7d60361c0
commit fb5dc72970
28 changed files with 135 additions and 104 deletions
+2 -2
View File
@@ -248,7 +248,7 @@ bool InstanceHandler::startInstance() {
}
this->sslMgr = new ssl::SSLManager();
if(!this->sslMgr->initialize()) {
logCritical("Failed to initialize ssl manager.");
logCritical(LOG_GENERAL, "Failed to initialize ssl manager.");
return false;
}
@@ -363,7 +363,7 @@ FwIDAQAB
-----END PUBLIC KEY-----
)", error, true);
if(!rsa) { //TODO just disable the forum verification
logCritical("Failed to initialize WebClient TeaForum key! (" + error + ")");
logCritical(LOG_GENERAL, "Failed to initialize WebClient TeaForum key! ({})", error);
return false;
}
this->web_event_loop = make_shared<webio::LoopManager>();