mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 07:48:02 +00:00
chore(authserver): improve startup console logs (#2227)
This commit is contained in:
committed by
Stoabrogga
parent
c300bf8158
commit
2f74802d03
@@ -171,7 +171,7 @@ extern int main(int argc, char** argv)
|
|||||||
int32 rmport = sConfigMgr->GetIntDefault("RealmServerPort", 3724);
|
int32 rmport = sConfigMgr->GetIntDefault("RealmServerPort", 3724);
|
||||||
if (rmport < 0 || rmport > 0xFFFF)
|
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;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -185,6 +185,8 @@ extern int main(int argc, char** argv)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sLog->outString("Authserver listening to %s:%d", bind_ip.c_str(), rmport);
|
||||||
|
|
||||||
// Initialize the signal handlers
|
// Initialize the signal handlers
|
||||||
AuthServerSignalHandler SignalINT, SignalTERM;
|
AuthServerSignalHandler SignalINT, SignalTERM;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user