We are using JBoss Enterprise Application Platform server ie. JBOSS EAP 6.1 for our new web applications that use Logback for logging. We are using JBoss EAP for some months now and everything works out cool. Also, as you may know, you can deploy and undeploy applications and config files (like e.g. the mail-service.xml) during runtime on JBOSS AS i.e. without restarting the server.
But if you change the logback.xml config file though on JBoss EAP deployed in temp directory, JBOSS EAP is not recognizing changes and on restarting the server this JBOSS EAP server deletes the changed file and re-deploy the complete new package. This is a bit annoying - it seems strange that the logaback config can not 'hot swap' while the server is running.
Setup done for auto-reloading :
-- We have configured the logback by setting the scan variable to true and scanPeriod to 5 seconds.
Are there easy ways to work around this, i.e. make it possible to 'hot swap' the logback config file on JBOSS EAP 6.1?