slfan1989 commented on PR #1358:
URL: https://github.com/apache/ratis/pull/1358#issuecomment-3954623497

   > > ... The test `TestRaftAsyncWithNetty.testWithLoadAsync` often times out 
when running on the server/CI environment. After checking it locally, the only 
thing I suspect is causing the issue is that this test generates a very large 
volume of logs. ...
   > 
   > Thanks for pointing it out. Just have downloaded [a test 
log](https://github.com/apache/ratis/actions/runs/22269726843/attempts/3?pr=1358)
 and found that TestRaftAsyncWithNetty is printing 1.6m lines now.
   > 
   > ```java
   > // NettyRpcProxy.Connection
   >           p.addLast(new LoggingHandler(LogLevel.WARN));
   > ```
   > 
   > I probably have misunderstood that meaning of passing `LogLevel.WARN` 
above -- I thought it would print only the WARN messages but it actually 
printed all the log messages using WARN. Filed 
[RATIS-2418](https://issues.apache.org/jira/browse/RATIS-2418).
   
   @szetszwo Thank you very much for helping review the code!


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