Reduce the severity of a 'routine' log message.

This commit is contained in:
JoelKatz
2013-02-23 00:19:32 -08:00
parent c6ff3e3403
commit 0c7d8136cf

View File

@@ -22,7 +22,10 @@ STAmount saOne(CURRENCY_ONE, ACCOUNT_ONE, 1);
SerializedType& SerializedType::operator=(const SerializedType& t)
{
if ((t.fName != fName) && fName->isUseful() && t.fName->isUseful())
Log(lsWARNING) << "Caution: " << t.fName->getName() << " not replacing " << fName->getName();
{
cLog((t.getSType() == STI_AMOUNT) ? lsDEBUG : lsWARNING) // This is common for amounts
<< "Caution: " << t.fName->getName() << " not replacing " << fName->getName();
}
if (!fName->isUseful()) fName = t.fName;
return *this;
}