RockteMQ-AI commented on issue #11431:
URL: https://github.com/apache/rocketmq/issues/11431#issuecomment-6161335469

   **Issue Evaluation**
   
   Category: `type/bug` | Status: **Confirmed**
   
   The reported issue has been verified against the current codebase.
   
   **Root Cause:** `tools/src/main/resources/rmq.tools.logback.xml` references 
`RocketmqBrokerAppender` (lines 77, 81, 85) for the `RocketmqCommon`, 
`RocketmqStore`, and `RocketmqRemoting` loggers, but this appender is not 
defined in the tools logback configuration. It only exists in broker/proxy 
configs. Combined with `additivity="false"`, this causes all logging from these 
three loggers to be silently discarded.
   
   **Impact:** mqadmin tool silently loses Common/Store/Remoting logs, making 
troubleshooting tool issues impossible.
   
   **Severity:** Medium — diagnostic capability loss, no functional impact on 
message processing.
   
   **Proposed Fix:** Replace the three `RocketmqBrokerAppender` references with 
`RocketmqToolsAppender` (which is defined in this file).
   
   The analysis is accurate and the fix is straightforward. Looking forward to 
the PR.
   
   ---
   *Automated evaluation by RockteMQ-AI*


-- 
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