I am using apache log4j into my application, this is an independent ear I am deploying. logs are getting displayed. But at runtime I am trying to change the Log level, this is not reflecting into my application. Ex : 2 logger I am using info() and error(). When deploying application and hitting application I am getting both logs into my log file because into properties file I configured log level as Debug. Now aruntime I am changing the Log level to ERROR. and Hitting the application then also it displays both info and error. But ideally it should display error log only.
Any solutions for this problem .
Thanks In Advance