mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-01 16:35:53 +00:00
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:
@@ -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{})
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user