I am learning log4j The code below uses DOMConfigurator.configure(propfile);
Please guide me what is the best place to perform this operation ? Should i perform this using Listener Or with Start up normal Servlet So that the other parts of the Application can also use it with simply calling statis method
getLogger directly and use it .