fateh288 opened a new pull request, #620:
URL: https://github.com/apache/ranger/pull/620

   ## What changes were proposed in this pull request?
   
   New REST endpoint to reload logging configuration to avoid restart of 
service while changing logging level to DEBUG.
   Any new logging config as per requirement can be added to logback.xml which 
is be loaded when REST endpoint is hit and won't require service restart 
   
   ## How was this patch tested?
   
   Manual testing in the docker setup.
   1) Changed log level in 
/opt/ranger/admin/ews/webapp/WEB-INF/classes/conf/logback.xml to debug 
   2) Run curl command curl -u admin:rangerR0cks! -X POST 
http://localhost:6080/service/loggers/reload
   3) See ranger admin log file which now contains DEBUG logs 
/var/log/ranger/ranger-admin-ranger.example.com-.log without docker container / 
ranger admin restart
   
   Attaching screenshot
   <img width="1728" height="742" alt="Screenshot 2025-07-30 at 5 36 44 PM" 
src="https://github.com/user-attachments/assets/412135e0-23bd-4649-8b6b-2ed58f405f74";
 />
   
   


-- 
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: dev-unsubscr...@ranger.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to