wang-jiahua commented on code in PR #10443:
URL: https://github.com/apache/rocketmq/pull/10443#discussion_r3389171081


##########
broker/src/main/resources/rmq.broker.logback.xml:
##########
@@ -18,6 +18,8 @@
 
 <configuration scan="true" scanPeriod="30 seconds">
 
+    <statusListener class="ch.qos.logback.core.status.NopStatusListener"/>
+
     <appender name="DefaultSiftingAppender_inner" 
class="ch.qos.logback.classic.sift.SiftingAppender">

Review Comment:
   This is intentional. NopStatusListener suppresses Logback internal status 
messages (config parse results) that are written to stderr on every broker 
startup. In production, the logback config is stable and validated during 
deployment — these messages add noise to stderr without actionable value. The 
`scan=true` auto-reload is already guarded by Logback's own error handling 
(misconfigured reload falls back to the last working config). If 
troubleshooting a logback config issue, operators can temporarily remove this 
listener.



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