Logging: wording/typos

This commit is contained in:
dr|z3d 2021-09-04 12:12:49 +00:00
parent 4d3f638945
commit 2d1f04bdc7
3 changed files with 5 additions and 4 deletions

View file

@ -42,7 +42,7 @@ void handle_signal(int sig)
{
i2p::context.SetAcceptsTunnels (false);
Daemon.gracefulShutdownInterval = 10*60; // 10 minutes
LogPrint(eLogInfo, "Graceful shutdown after ", Daemon.gracefulShutdownInterval, " seconds");
LogPrint(eLogInfo, "Graceful shutdown in ", Daemon.gracefulShutdownInterval, " seconds");
}
else
Daemon.running = 0;

View file

@ -548,7 +548,7 @@ namespace transport
}
if (!introducer)
{
LogPrint (eLogWarning, "SSU: Can't connect to unreachable router and no compatibe non-expired introducers presented");
LogPrint (eLogWarning, "SSU: Can't connect to unreachable router, no compatible introducers");
return;
}

View file

@ -509,7 +509,7 @@ namespace client
std::string tunConf; i2p::config::GetOption("tunconf", tunConf);
if (tunConf.empty ())
tunConf = i2p::fs::DataDirPath ("tunnels.conf");
LogPrint(eLogDebug, "Clients: Tunnels config file: ", tunConf);
ReadTunnels (tunConf, numClientTunnels, numServerTunnels);
@ -755,9 +755,10 @@ namespace client
LogPrint(eLogInfo, "Clients: I2P Server Forward created for UDP Endpoint ", host, ":", port, " bound on ", address, " for ",localDestination->GetIdentHash().ToBase32());
}
else
{
ins.first->second->isUpdated = true;
LogPrint(eLogError, "Clients: I2P Server Forward for destination/port ", m_AddressBook.ToAddress(localDestination->GetIdentHash()), "/", port, "already exists");
}
continue;
}