From 0c7d8136cfc8bb60a46129795ebf336d62f241f5 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Sat, 23 Feb 2013 00:19:32 -0800 Subject: [PATCH] Reduce the severity of a 'routine' log message. --- src/cpp/ripple/SerializedTypes.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cpp/ripple/SerializedTypes.cpp b/src/cpp/ripple/SerializedTypes.cpp index d7d1327fc..f3356a996 100644 --- a/src/cpp/ripple/SerializedTypes.cpp +++ b/src/cpp/ripple/SerializedTypes.cpp @@ -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; }