Apache9 commented on PR #4340:
URL: https://github.com/apache/hbase/pull/4340#issuecomment-1096829643

   It is not easy to write a UT for the log4j2 appender so I just test it 
manually.
   
   Change the 'appender.console.maxSize' property in log4j2.properties to a 
very small value, for example, 1K, you will soon see this output when running 
UT in IDE
   
   ```
   2022-04-12 22:44:20,366 Time-limited test ERROR Log size exceeded the limit 
1024, will stop logging to prevent eating too much disk space
   ```
   
   So I think this approach works.
   
   And I set default value to 1G, which should be enough for most cases...
   
   @busbey @ndimiduk FYI. I think this could solve the recent space problem of 
our ci system.


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