fix: Change log to debug level for AMM offer retrieval and IOU payment check (#5686)

Reduce log noise by changing two log statements from error/warn level to debug level. These logs occur during normal operation when AMM offers are not available or when IOU authorization checks fail, which are expected scenarios that don't require an elevated log level.
This commit is contained in:
Elliot.
2025-08-14 09:28:01 -07:00
committed by GitHub
parent de33a6a241
commit a14551b151
2 changed files with 2 additions and 2 deletions

View File

@@ -248,7 +248,7 @@ AMMLiquidity<TIn, TOut>::getOffer(
return offer;
}
JLOG(j_.error()) << "AMMLiquidity::getOffer, failed "
JLOG(j_.debug()) << "AMMLiquidity::getOffer, no valid offer "
<< ammContext_.multiPath() << " "
<< ammContext_.curIters() << " "
<< (clobQuality ? clobQuality->rate() : STAmount{})

View File

@@ -423,7 +423,7 @@ DirectIPaymentStep::check(
!((*sleLine)[sfFlags] & authField) &&
(*sleLine)[sfBalance] == beast::zero)
{
JLOG(j_.warn())
JLOG(j_.debug())
<< "DirectStepI: can't receive IOUs from issuer without auth."
<< " src: " << src_;
return terNO_AUTH;