chore(authserver): improve startup console logs (#2227)

This commit is contained in:
Francesco Borzì
2019-08-23 22:22:26 +02:00
committed by Stoabrogga
parent c300bf8158
commit 2f74802d03

View File

@@ -171,7 +171,7 @@ extern int main(int argc, char** argv)
int32 rmport = sConfigMgr->GetIntDefault("RealmServerPort", 3724);
if (rmport < 0 || rmport > 0xFFFF)
{
sLog->outError("Specified port out of allowed range (1-65535)");
sLog->outError("The specified RealmServerPort (%d) is out of the allowed range (1-65535)", rmport);
return 1;
}
@@ -185,6 +185,8 @@ extern int main(int argc, char** argv)
return 1;
}
sLog->outString("Authserver listening to %s:%d", bind_ip.c_str(), rmport);
// Initialize the signal handlers
AuthServerSignalHandler SignalINT, SignalTERM;