Updated the logging system
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user