title: can we change the logging level of log4j at runtime
body: <p>i have an issue, i want to change the logging level of log4j at runtime, i have tried many things with log4j.properties file, i have also tried to written a code which after particular time again reads the properties file and again configure the logger. </p>
  
  <p>but the problem is, i want to change the logging level to DEBUG for one API call, and then when that call is completed, the logger should again change to the previous value.. </p>
  
  <p>please help..</p>