mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 10:31:29 +00:00
more log adjustments
This commit is contained in:
parent
31e6f13b1d
commit
908b826fb4
@ -55,7 +55,7 @@ void DatabaseUpdate::CheckDbUpdates()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (UpdateManifest(manifest_entries, v.server_database_version, b.server_database_version)) {
|
if (UpdateManifest(manifest_entries, v.server_database_version, b.server_database_version)) {
|
||||||
LogInfo(
|
LogInfoNoFn(
|
||||||
"Updates ran successfully, setting database version to [{}] from [{}]",
|
"Updates ran successfully, setting database version to [{}] from [{}]",
|
||||||
b.server_database_version,
|
b.server_database_version,
|
||||||
v.server_database_version
|
v.server_database_version
|
||||||
@ -64,7 +64,7 @@ void DatabaseUpdate::CheckDbUpdates()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (UpdateManifest(manifest_entries_custom, v.custom_database_version, b.custom_database_version)) {
|
if (UpdateManifest(manifest_entries_custom, v.custom_database_version, b.custom_database_version)) {
|
||||||
LogInfo(
|
LogInfoNoFn(
|
||||||
"Updates ran successfully, setting database version to [{}] from [{}]",
|
"Updates ran successfully, setting database version to [{}] from [{}]",
|
||||||
b.custom_database_version,
|
b.custom_database_version,
|
||||||
v.custom_database_version
|
v.custom_database_version
|
||||||
@ -337,9 +337,9 @@ DatabaseUpdate *DatabaseUpdate::SetSkipBackup(bool skip)
|
|||||||
|
|
||||||
bool DatabaseUpdate::CheckVersionsUpToDate(DatabaseVersion v, DatabaseVersion b)
|
bool DatabaseUpdate::CheckVersionsUpToDate(DatabaseVersion v, DatabaseVersion b)
|
||||||
{
|
{
|
||||||
LogInfo("{}", Strings::Repeat("-", BREAK_LENGTH));
|
LogInfoNoFn("{}", Strings::Repeat("-", BREAK_LENGTH));
|
||||||
|
|
||||||
LogInfo(
|
LogInfoNoFn(
|
||||||
"{:>8} | database [{}] binary [{}] {}",
|
"{:>8} | database [{}] binary [{}] {}",
|
||||||
"Server",
|
"Server",
|
||||||
v.server_database_version,
|
v.server_database_version,
|
||||||
@ -348,7 +348,7 @@ bool DatabaseUpdate::CheckVersionsUpToDate(DatabaseVersion v, DatabaseVersion b)
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (RuleB(Bots, Enabled) && b.bots_database_version > 0) {
|
if (RuleB(Bots, Enabled) && b.bots_database_version > 0) {
|
||||||
LogInfo(
|
LogInfoNoFn(
|
||||||
"{:>8} | database [{}] binary [{}] {}",
|
"{:>8} | database [{}] binary [{}] {}",
|
||||||
"Bots",
|
"Bots",
|
||||||
v.bots_database_version,
|
v.bots_database_version,
|
||||||
@ -358,7 +358,7 @@ bool DatabaseUpdate::CheckVersionsUpToDate(DatabaseVersion v, DatabaseVersion b)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (b.custom_database_version > 0) {
|
if (b.custom_database_version > 0) {
|
||||||
LogInfo(
|
LogInfoNoFn(
|
||||||
"{:>8} | database [{}] binary [{}] {}",
|
"{:>8} | database [{}] binary [{}] {}",
|
||||||
"Custom",
|
"Custom",
|
||||||
v.custom_database_version,
|
v.custom_database_version,
|
||||||
@ -367,9 +367,9 @@ bool DatabaseUpdate::CheckVersionsUpToDate(DatabaseVersion v, DatabaseVersion b)
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
LogInfo("{:>8} | [server.auto_database_updates] [<green>true]", "Config");
|
LogInfoNoFn("{:>8} | [server.auto_database_updates] [<green>true]", "Config");
|
||||||
|
|
||||||
LogInfo("{}", Strings::Repeat("-", BREAK_LENGTH));
|
LogInfoNoFn("{}", Strings::Repeat("-", BREAK_LENGTH));
|
||||||
|
|
||||||
// server database version is required
|
// server database version is required
|
||||||
bool server_up_to_date = v.server_database_version >= b.server_database_version;
|
bool server_up_to_date = v.server_database_version >= b.server_database_version;
|
||||||
|
|||||||
@ -317,7 +317,10 @@ void EQEmuLogSys::ProcessConsoleMessage(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
out << rang::fgB::black << "#" << func << " ";
|
// check if func is not empty
|
||||||
|
if (func && *func) {
|
||||||
|
out << rang::fgB::black << "#" << func << " ";
|
||||||
|
}
|
||||||
|
|
||||||
if (!origination_info.zone_short_name.empty()) {
|
if (!origination_info.zone_short_name.empty()) {
|
||||||
out << rang::fgB::black << "-- "
|
out << rang::fgB::black << "-- "
|
||||||
|
|||||||
@ -449,6 +449,11 @@ inline auto logsys = EQEmuLogSys::Instance();
|
|||||||
OutF(logsys, Logs::General, Logs::Info, __FILE__, __func__, __LINE__, message, ##__VA_ARGS__);\
|
OutF(logsys, Logs::General, Logs::Info, __FILE__, __func__, __LINE__, message, ##__VA_ARGS__);\
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
#define LogInfoNoFn(message, ...) do {\
|
||||||
|
if (logsys->IsLogEnabled(Logs::General, Logs::Info))\
|
||||||
|
OutF(logsys, Logs::General, Logs::Info, "", "", 0, message, ##__VA_ARGS__);\
|
||||||
|
} while (0)
|
||||||
|
|
||||||
#define LogInfoDetail(message, ...) do {\
|
#define LogInfoDetail(message, ...) do {\
|
||||||
if (logsys->IsLogEnabled(Logs::Detail, Logs::Info))\
|
if (logsys->IsLogEnabled(Logs::Detail, Logs::Info))\
|
||||||
OutF(logsys, Logs::Detail, Logs::Info, __FILE__, __func__, __LINE__, message, ##__VA_ARGS__);\
|
OutF(logsys, Logs::Detail, Logs::Info, __FILE__, __func__, __LINE__, message, ##__VA_ARGS__);\
|
||||||
@ -459,6 +464,11 @@ inline auto logsys = EQEmuLogSys::Instance();
|
|||||||
OutF(logsys, Logs::General, Logs::Warning, __FILE__, __func__, __LINE__, message, ##__VA_ARGS__);\
|
OutF(logsys, Logs::General, Logs::Warning, __FILE__, __func__, __LINE__, message, ##__VA_ARGS__);\
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
#define LogWarningNoFn(message, ...) do {\
|
||||||
|
if (logsys->IsLogEnabled(Logs::General, Logs::Info))\
|
||||||
|
OutF(logsys, Logs::General, Logs::Warning, "", "", 0, message, ##__VA_ARGS__);\
|
||||||
|
} while (0)
|
||||||
|
|
||||||
#define LogWarningDetail(message, ...) do {\
|
#define LogWarningDetail(message, ...) do {\
|
||||||
if (logsys->IsLogEnabled(Logs::Detail, Logs::Warning))\
|
if (logsys->IsLogEnabled(Logs::Detail, Logs::Warning))\
|
||||||
OutF(logsys, Logs::Detail, Logs::Warning, __FILE__, __func__, __LINE__, message, ##__VA_ARGS__);\
|
OutF(logsys, Logs::Detail, Logs::Warning, __FILE__, __func__, __LINE__, message, ##__VA_ARGS__);\
|
||||||
|
|||||||
@ -87,16 +87,16 @@ void PathManager::Init()
|
|||||||
constexpr int break_length = 70;
|
constexpr int break_length = 70;
|
||||||
|
|
||||||
LogInfo("Loading server paths");
|
LogInfo("Loading server paths");
|
||||||
LogInfo("{}", Strings::Repeat("-", break_length));
|
LogInfoNoFn("{}", Strings::Repeat("-", break_length));
|
||||||
for (const auto& [name, in_path] : paths) {
|
for (const auto& [name, in_path] : paths) {
|
||||||
if (!in_path.empty()) {
|
if (!in_path.empty()) {
|
||||||
LogInfo("{:>{}} > [{:<{}}]", name, name_width, in_path, path_width);
|
LogInfoNoFn("{:>{}} > {:<{}}", name, name_width, in_path, path_width);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
auto log_paths = [&](const std::string& label, const std::vector<std::string>& paths) {
|
auto log_paths = [&](const std::string& label, const std::vector<std::string>& paths) {
|
||||||
if (!paths.empty()) {
|
if (!paths.empty()) {
|
||||||
LogInfo("{:>{}} > [{:<{}}]", label, name_width - 1, Strings::Join(paths, ";"), path_width);
|
LogInfoNoFn("{:>{}} > {:<{}}", label, name_width, Strings::Join(paths, ";"), path_width);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -104,7 +104,7 @@ void PathManager::Init()
|
|||||||
log_paths("plugins", m_plugin_paths);
|
log_paths("plugins", m_plugin_paths);
|
||||||
log_paths("lua_modules", m_lua_module_paths);
|
log_paths("lua_modules", m_lua_module_paths);
|
||||||
|
|
||||||
LogInfo("{}", Strings::Repeat("-", break_length));
|
LogInfoNoFn("{}", Strings::Repeat("-", break_length));
|
||||||
}
|
}
|
||||||
|
|
||||||
const std::string &PathManager::GetServerPath() const
|
const std::string &PathManager::GetServerPath() const
|
||||||
|
|||||||
@ -419,7 +419,7 @@ void WorldBoot::CheckForPossibleConfigurationIssues()
|
|||||||
const auto c = EQEmuConfig::get();
|
const auto c = EQEmuConfig::get();
|
||||||
|
|
||||||
if (c->DisableConfigChecks) {
|
if (c->DisableConfigChecks) {
|
||||||
LogInfo("Configuration checking [disabled]");
|
LogInfoNoFn("Configuration checking [disabled]");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -429,17 +429,17 @@ void WorldBoot::CheckForPossibleConfigurationIssues()
|
|||||||
const std::ifstream is_in_docker("/.dockerenv");
|
const std::ifstream is_in_docker("/.dockerenv");
|
||||||
|
|
||||||
if (local_address.empty() && public_address.empty()) {
|
if (local_address.empty() && public_address.empty()) {
|
||||||
LogInfo("Configuration check, probes failed for local and public address, returning");
|
LogInfoNoFn("Configuration check, probes failed for local and public address, returning");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
LogInfo("Checking for possible configuration issues");
|
LogInfoNoFn("Checking for possible configuration issues");
|
||||||
LogInfo("To disable configuration checks, set [server.disable_config_checks] to [true] in [{}]", config_file);
|
LogInfoNoFn("To disable configuration checks, set [server.disable_config_checks] to [true] in [{}]", config_file);
|
||||||
|
|
||||||
std::string config_address = c->WorldAddress;
|
std::string config_address = c->WorldAddress;
|
||||||
if (!IpUtil::IsIPAddress(config_address)) {
|
if (!IpUtil::IsIPAddress(config_address)) {
|
||||||
config_address = IpUtil::DNSLookupSync(c->WorldAddress, 9000);
|
config_address = IpUtil::DNSLookupSync(c->WorldAddress, 9000);
|
||||||
LogInfo(
|
LogInfoNoFn(
|
||||||
"World config address using DNS [{}] resolves to [{}]",
|
"World config address using DNS [{}] resolves to [{}]",
|
||||||
c->WorldAddress,
|
c->WorldAddress,
|
||||||
config_address
|
config_address
|
||||||
@ -454,16 +454,12 @@ void WorldBoot::CheckForPossibleConfigurationIssues()
|
|||||||
&& local_address != c->LocalAddress
|
&& local_address != c->LocalAddress
|
||||||
&& !is_in_docker
|
&& !is_in_docker
|
||||||
) {
|
) {
|
||||||
LogWarning("# LAN detection (Configuration)");
|
LogWarningNoFn("# LAN detection (Configuration)");
|
||||||
LogWarning("");
|
LogWarningNoFn("You appear to be on a LAN and your localaddress may not be properly set!");
|
||||||
LogWarning("You appear to be on a LAN and your localaddress may not be properly set!");
|
LogWarningNoFn("This can prevent local clients from properly connecting to your server");
|
||||||
LogWarning("This can prevent local clients from properly connecting to your server");
|
LogWarningNoFn("Docs [https://docs.eqemu.io/server/installation/configure-your-eqemu_config/#world]");
|
||||||
LogWarning("");
|
LogWarningNoFn("Config file [{}] path [server.world] variable [localaddress]", config_file);
|
||||||
LogWarning("Docs [https://docs.eqemu.io/server/installation/configure-your-eqemu_config/#world]");
|
LogWarningNoFn("Local address (eqemu_config) value [{}] detected value [{}]", c->LocalAddress, local_address);
|
||||||
LogWarning("");
|
|
||||||
LogWarning("Config file [{}] path [server.world] variable [localaddress]", config_file);
|
|
||||||
LogWarning("");
|
|
||||||
LogWarning("Local address (eqemu_config) value [{}] detected value [{}]", c->LocalAddress, local_address);
|
|
||||||
std::cout << std::endl;
|
std::cout << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -475,28 +471,21 @@ void WorldBoot::CheckForPossibleConfigurationIssues()
|
|||||||
)
|
)
|
||||||
&& is_in_docker
|
&& is_in_docker
|
||||||
) {
|
) {
|
||||||
LogWarning("# Docker Configuration (Configuration)");
|
LogWarningNoFn("# Docker Configuration (Configuration)");
|
||||||
LogWarning("");
|
LogWarningNoFn("You appear to running EQEmu in a docker container");
|
||||||
LogWarning("You appear to running EQEmu in a docker container");
|
LogWarningNoFn("In order for networking to work properly you will need to properly configure your server");
|
||||||
LogWarning("In order for networking to work properly you will need to properly configure your server");
|
LogWarningNoFn(
|
||||||
LogWarning("");
|
|
||||||
LogWarning(
|
|
||||||
"If your Docker host is on a [LAN] or behind a NAT / Firewall, your [localaddress] variable under [server.world] will need to");
|
"If your Docker host is on a [LAN] or behind a NAT / Firewall, your [localaddress] variable under [server.world] will need to");
|
||||||
LogWarning(
|
LogWarningNoFn(
|
||||||
"be set to your LAN address on the host, not the container address. [address] will need to be your public address");
|
"be set to your LAN address on the host, not the container address. [address] will need to be your public address");
|
||||||
LogWarning("");
|
LogWarningNoFn(
|
||||||
LogWarning(
|
|
||||||
"If your Docker host is directly on the [public internet], your [localaddress] variable under [server.world] can be set to [127.0.0.1]."
|
"If your Docker host is directly on the [public internet], your [localaddress] variable under [server.world] can be set to [127.0.0.1]."
|
||||||
);
|
);
|
||||||
LogWarning("");
|
LogWarningNoFn("[address] will need to be your public address");
|
||||||
LogWarning("[address] will need to be your public address");
|
LogWarningNoFn("Docs [https://docs.eqemu.io/server/installation/configure-your-eqemu_config/#world]");
|
||||||
LogWarning("");
|
LogWarningNoFn("Config file [{}] path [server.world] variable(s) [localaddress] [address]", config_file);
|
||||||
LogWarning("Docs [https://docs.eqemu.io/server/installation/configure-your-eqemu_config/#world]");
|
LogWarningNoFn("Local address (eqemu_config) value [{}] detected value [{}]", c->LocalAddress, local_address);
|
||||||
LogWarning("");
|
LogWarningNoFn(
|
||||||
LogWarning("Config file [{}] path [server.world] variable(s) [localaddress] [address]", config_file);
|
|
||||||
LogWarning("");
|
|
||||||
LogWarning("Local address (eqemu_config) value [{}] detected value [{}]", c->LocalAddress, local_address);
|
|
||||||
LogWarning(
|
|
||||||
"Public address (eqemu_config) value [{}] detected value [{}]",
|
"Public address (eqemu_config) value [{}] detected value [{}]",
|
||||||
config_address,
|
config_address,
|
||||||
public_address
|
public_address
|
||||||
@ -506,30 +495,23 @@ void WorldBoot::CheckForPossibleConfigurationIssues()
|
|||||||
|
|
||||||
// docker LAN not set
|
// docker LAN not set
|
||||||
if (c->LocalAddress.empty() && is_in_docker) {
|
if (c->LocalAddress.empty() && is_in_docker) {
|
||||||
LogWarning("# Docker LAN (Configuration)");
|
LogWarningNoFn("# Docker LAN (Configuration)");
|
||||||
LogWarning("");
|
LogWarningNoFn("You appear to running EQEmu in a docker container");
|
||||||
LogWarning("You appear to running EQEmu in a docker container");
|
LogWarningNoFn(
|
||||||
LogWarning(
|
|
||||||
"Your local address does not appear to be set, this may not be an issue if your deployment is not on a LAN"
|
"Your local address does not appear to be set, this may not be an issue if your deployment is not on a LAN"
|
||||||
);
|
);
|
||||||
LogWarning("");
|
LogWarningNoFn(
|
||||||
LogWarning(
|
|
||||||
"If your Docker host is on a [LAN] or behind a NAT / Firewall, your [localaddress] variable under [server.world] will need to");
|
"If your Docker host is on a [LAN] or behind a NAT / Firewall, your [localaddress] variable under [server.world] will need to");
|
||||||
LogWarning(
|
LogWarningNoFn(
|
||||||
"be set to your LAN address on the host, not the container address. [address] will need to be your public address");
|
"be set to your LAN address on the host, not the container address. [address] will need to be your public address");
|
||||||
LogWarning("");
|
LogWarningNoFn(
|
||||||
LogWarning(
|
|
||||||
"If your Docker host is directly on the [public internet], your [localaddress] variable under [server.world] can be set to [127.0.0.1]."
|
"If your Docker host is directly on the [public internet], your [localaddress] variable under [server.world] can be set to [127.0.0.1]."
|
||||||
);
|
);
|
||||||
LogWarning("");
|
LogWarningNoFn("[address] will need to be your public address");
|
||||||
LogWarning("[address] will need to be your public address");
|
LogWarningNoFn("Docs [https://docs.eqemu.io/server/installation/configure-your-eqemu_config/#world]");
|
||||||
LogWarning("");
|
LogWarningNoFn("Config file [{}] path [server.world] variable(s) [localaddress] [address]", config_file);
|
||||||
LogWarning("Docs [https://docs.eqemu.io/server/installation/configure-your-eqemu_config/#world]");
|
LogWarningNoFn("Local address (eqemu_config) value [{}] detected value [{}]", c->LocalAddress, local_address);
|
||||||
LogWarning("");
|
LogWarningNoFn(
|
||||||
LogWarning("Config file [{}] path [server.world] variable(s) [localaddress] [address]", config_file);
|
|
||||||
LogWarning("");
|
|
||||||
LogWarning("Local address (eqemu_config) value [{}] detected value [{}]", c->LocalAddress, local_address);
|
|
||||||
LogWarning(
|
|
||||||
"Public address (eqemu_config) value [{}] detected value [{}]",
|
"Public address (eqemu_config) value [{}] detected value [{}]",
|
||||||
config_address,
|
config_address,
|
||||||
public_address
|
public_address
|
||||||
@ -539,15 +521,11 @@ void WorldBoot::CheckForPossibleConfigurationIssues()
|
|||||||
|
|
||||||
// public address different from configuration
|
// public address different from configuration
|
||||||
if (!config_address.empty() && public_address != config_address) {
|
if (!config_address.empty() && public_address != config_address) {
|
||||||
LogWarning("# Public address (Configuration)");
|
LogWarningNoFn("# Public address (Configuration)");
|
||||||
LogWarning("");
|
LogWarningNoFn("Your configured public address appears to be different from what's detected!");
|
||||||
LogWarning("Your configured public address appears to be different from what's detected!");
|
LogWarningNoFn("Docs [https://docs.eqemu.io/server/installation/configure-your-eqemu_config/#world]");
|
||||||
LogWarning("");
|
LogWarningNoFn("Config file [{}] path [server.world] variable [address]", config_file);
|
||||||
LogWarning("Docs [https://docs.eqemu.io/server/installation/configure-your-eqemu_config/#world]");
|
LogWarningNoFn(
|
||||||
LogWarning("");
|
|
||||||
LogWarning("Config file [{}] path [server.world] variable [address]", config_file);
|
|
||||||
LogWarning("");
|
|
||||||
LogWarning(
|
|
||||||
"Public address (eqemu_config) value [{}] detected value [{}]",
|
"Public address (eqemu_config) value [{}] detected value [{}]",
|
||||||
config_address,
|
config_address,
|
||||||
public_address
|
public_address
|
||||||
@ -557,17 +535,13 @@ void WorldBoot::CheckForPossibleConfigurationIssues()
|
|||||||
|
|
||||||
// public address set to meta-address
|
// public address set to meta-address
|
||||||
if (config_address == "0.0.0.0") {
|
if (config_address == "0.0.0.0") {
|
||||||
LogWarning("# Public meta-address (Configuration)");
|
LogWarningNoFn("# Public meta-address (Configuration)");
|
||||||
LogWarning("");
|
LogWarningNoFn("Your configured public address is set to a meta-address (0.0.0.0) (all-interfaces)");
|
||||||
LogWarning("Your configured public address is set to a meta-address (0.0.0.0) (all-interfaces)");
|
LogWarningNoFn(
|
||||||
LogWarning(
|
|
||||||
"The meta-address may not work properly and it is recommended you configure your public address explicitly");
|
"The meta-address may not work properly and it is recommended you configure your public address explicitly");
|
||||||
LogWarning("");
|
LogWarningNoFn("Docs [https://docs.eqemu.io/server/installation/configure-your-eqemu_config/#world]");
|
||||||
LogWarning("Docs [https://docs.eqemu.io/server/installation/configure-your-eqemu_config/#world]");
|
LogWarningNoFn("Config file [{}] path [server.world] variable [address]", config_file);
|
||||||
LogWarning("");
|
LogWarningNoFn(
|
||||||
LogWarning("Config file [{}] path [server.world] variable [address]", config_file);
|
|
||||||
LogWarning("");
|
|
||||||
LogWarning(
|
|
||||||
"Public address (eqemu_config) value [{}] detected value [{}]",
|
"Public address (eqemu_config) value [{}] detected value [{}]",
|
||||||
config_address,
|
config_address,
|
||||||
public_address
|
public_address
|
||||||
@ -577,18 +551,14 @@ void WorldBoot::CheckForPossibleConfigurationIssues()
|
|||||||
|
|
||||||
// local address set to meta-address
|
// local address set to meta-address
|
||||||
if (c->LocalAddress == "0.0.0.0") {
|
if (c->LocalAddress == "0.0.0.0") {
|
||||||
LogWarning("# Local meta-address (Configuration)");
|
LogWarningNoFn("# Local meta-address (Configuration)");
|
||||||
LogWarning("");
|
LogWarningNoFn("Your configured local address is set to a meta-address (0.0.0.0) (all-interfaces)");
|
||||||
LogWarning("Your configured local address is set to a meta-address (0.0.0.0) (all-interfaces)");
|
LogWarningNoFn(
|
||||||
LogWarning(
|
|
||||||
"The meta-address may not work properly and it is recommended you configure your local address explicitly"
|
"The meta-address may not work properly and it is recommended you configure your local address explicitly"
|
||||||
);
|
);
|
||||||
LogWarning("");
|
LogWarningNoFn("Docs [https://docs.eqemu.io/server/installation/configure-your-eqemu_config/#world]");
|
||||||
LogWarning("Docs [https://docs.eqemu.io/server/installation/configure-your-eqemu_config/#world]");
|
LogWarningNoFn("Config file [{}] path [server.world] variable [localaddress]", config_file);
|
||||||
LogWarning("");
|
LogWarningNoFn("Local address (eqemu_config) value [{}] detected value [{}]", c->LocalAddress, local_address);
|
||||||
LogWarning("Config file [{}] path [server.world] variable [localaddress]", config_file);
|
|
||||||
LogWarning("");
|
|
||||||
LogWarning("Local address (eqemu_config) value [{}] detected value [{}]", c->LocalAddress, local_address);
|
|
||||||
std::cout << std::endl;
|
std::cout << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -596,16 +566,13 @@ void WorldBoot::CheckForPossibleConfigurationIssues()
|
|||||||
if (
|
if (
|
||||||
(!config_address.empty() && c->GetUCSHost() != config_address)
|
(!config_address.empty() && c->GetUCSHost() != config_address)
|
||||||
) {
|
) {
|
||||||
LogWarning("# UCS Address Mailhost (Configuration)");
|
LogWarningNoFn("# UCS Address Mailhost (Configuration)");
|
||||||
LogWarning("");
|
LogWarningNoFn(
|
||||||
LogWarning(
|
|
||||||
"UCS (Universal Chat Service) mail or chat appears to use a different address from your main world address"
|
"UCS (Universal Chat Service) mail or chat appears to use a different address from your main world address"
|
||||||
);
|
);
|
||||||
LogWarning("This can result in a chat service that doesn't network properly");
|
LogWarningNoFn("This can result in a chat service that doesn't network properly");
|
||||||
LogWarning("");
|
LogWarningNoFn("Docs [https://docs.eqemu.io/server/installation/configure-your-eqemu_config/#mailserver]");
|
||||||
LogWarning("Docs [https://docs.eqemu.io/server/installation/configure-your-eqemu_config/#mailserver]");
|
LogWarningNoFn(
|
||||||
LogWarning("");
|
|
||||||
LogWarning(
|
|
||||||
"[server.world.address] value [{}] [server.ucs.host] [{}]",
|
"[server.world.address] value [{}] [server.ucs.host] [{}]",
|
||||||
config_address,
|
config_address,
|
||||||
c->GetUCSHost()
|
c->GetUCSHost()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user