/ Published in: Java
This will check the log4j.properties file for any modification at every 100 milliseconds.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
static { PropertyConfigurator.configureAndWatch("log4j.properties", 100); }