Posted By

arunpjohny on 12/01/09


Tagged

log4j reload-config


Versions (?)

Reloading Log4j configuration at runtime


 / Published in: Java
 

This will check the log4j.properties file for any modification at every 100 milliseconds.

  1. static
  2. {
  3. PropertyConfigurator.configureAndWatch("log4j.properties", 100);
  4. }

Report this snippet  

You need to login to post a comment.