mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Reduce the severity of a 'routine' log message.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user