title: LOG4J Load muliple log4j files
body: <p>I have five different log4j property files in my application for each event. I do not want the application to load the file using DOM or PropertyConfigurator. But I want to load all these properties into a Map with event name as key and Properties or Logger as the value. So that when I invoke the getLogger method with the event name the appropriate logger object based on the event name will be returned.</p>
  
  <p>The implementation in this post helps me to some extent. <a href="https://stackoverflow.com/questions/83918/log4j-log-file-names">log4j log file names?</a>
  They are dynamically creating logger objects based on the job. But I want to make use of the static log4j file for each event and load it and give it back.</p>
  
  <p>I also checked the response in this post. <a href="https://stackoverflow.com/questions/4273206/multiple-log4j-instance-configuration">multiple log4j instance configuration</a> 
  But as the event names and the list of appenders for each event will be a huge number in my application, for better maintainability purposes, I am opting for one log4j file for each event.</p>
  
  <p>Expecting your help on this.
  Thanks,
  Radhika</p>