Browse Source

change some log levels back

pull/1910/head
weko 1 year ago
parent
commit
a3bdc4ddc1
  1. 4
      libi2pd/Destination.cpp
  2. 2
      libi2pd_client/SAM.cpp

4
libi2pd/Destination.cpp

@ -108,7 +108,7 @@ namespace client @@ -108,7 +108,7 @@ namespace client
if (authType >= i2p::data::ENCRYPTED_LEASESET_AUTH_TYPE_NONE && authType <= i2p::data::ENCRYPTED_LEASESET_AUTH_TYPE_PSK)
m_AuthType = authType;
else
LogPrint (eLogCritical, "Destination: Unknown auth type: ", authType);
LogPrint (eLogError, "Destination: Unknown auth type: ", authType);
}
}
it = params->find (I2CP_PARAM_LEASESET_PRIV_KEY);
@ -1014,7 +1014,7 @@ namespace client @@ -1014,7 +1014,7 @@ namespace client
else if (authType == i2p::data::ENCRYPTED_LEASESET_AUTH_TYPE_PSK)
ReadAuthKey (I2CP_PARAM_LEASESET_CLIENT_PSK, params);
else
LogPrint (eLogCritical, "Destination: Unexpected auth type: ", authType);
LogPrint (eLogError, "Destination: Unexpected auth type: ", authType);
if (m_AuthKeys->size ())
LogPrint (eLogInfo, "Destination: ", m_AuthKeys->size (), " auth keys read");
else

2
libi2pd_client/SAM.cpp

@ -1283,7 +1283,7 @@ namespace client @@ -1283,7 +1283,7 @@ namespace client
}
catch (const std::exception& ex)
{
LogPrint (eLogCritical, "SAM: Runtime exception: ", ex.what ());
LogPrint (eLogError, "SAM: Runtime exception: ", ex.what ());
}
{

Loading…
Cancel
Save