Aias00 opened a new issue, #6562:
URL: https://github.com/apache/shenyu/issues/6562

   ## Description
   
`.setGiveUpExtraLongSingleLog(Boolean.parseBoolean(huaweiLtsLogConfig.getEnableLocalTest()))`
 — the "give up extra-long single log" behavior is driven by the 
**`enableLocalTest`** flag, not by its own config field. The dedicated field 
`setGiveUpExtraLongSingleLog` with getter `getSetGiveUpExtraLongSingleLog()` 
exists in `HuaweiLogCollectConfig` but is never read.
   
   ## Location
   ```
   shenyu-plugin-logging-huawei-lts/.../client/HuaweiLtsLogCollectClient.java:99
   ```
   
   ## Impact
   Oversized single logs are silently dropped (or kept) depending on an 
unrelated flag; the documented `setGiveUpExtraLongSingleLog` config is dead.
   
   ## Suggested fix
   Use `huaweiLtsLogConfig.getSetGiveUpExtraLongSingleLog()` on line 99.
   
   ## Related existing issue(s)
   None
   
   _Identified during the 2026-08-02 audit; full list in 
[`docs/issue-candidates-2026-08-02.md`](docs/issue-candidates-2026-08-02.md)._


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to