AnonHxy opened a new pull request, #4037:
URL: https://github.com/apache/bookkeeper/pull/4037

   Descriptions of the changes in this PR:
   
   
   
   ### Motivation
   
   Optimize shell log print.
   
   
   When we execute the bookkeeper shell , e.g., `bin/bookkeeper shell 
listbookies -a`, it will print a lot of redundant logs. And the key infomation 
will be hard to find:
   <img width="1152" alt="image" 
src="https://github.com/apache/bookkeeper/assets/10233437/1a4f180c-ce6f-40ef-9eb4-24b560497235";>
   
   
   ### Changes
   
   Changing the `log4j2.shell.xml` to only print the key infomation, other logs 
will print to the `bookkeeper-shell.log` file
   
   After changing:
   <img width="781" alt="image" 
src="https://github.com/apache/bookkeeper/assets/10233437/44c037be-7ea7-418a-86f1-9e23865b4dc9";>
   
   


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