Thanks for the reply. I found solution for log4j2 for karaf-4.0.4. clean is not happening and i found ([KARAF-4278] - clean not working) release note of 4.0.5.
so either delete data directory or change clean part in karaf.sh will resolve this. -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-Dev-f930721.html