title: Spring 5 how to use Log4jConfigListener
body: <p>In the past, i used to spring 4.3.8 version, 
  i used to Log4j  config in web.xml like below code,</p>
  
  <pre><code>&lt;context-param&gt;
          &lt;param-name&gt;log4jConfigLocation&lt;/param-name&gt;
          &lt;param-value&gt;classpath:/log4j-${spring.profiles.active}.xml&lt;/param-value&gt;
      &lt;/context-param&gt;
  
      &lt;listener&gt;
          &lt;listener-class&gt;org.springframework.web.util.Log4jConfigListener&lt;/listener-class&gt;
      &lt;/listener&gt;
  </code></pre>
  
  <p>Currently, i trying to use spring 5.0.7 version but, i can't use Log4jConfigListener </p>
  
  <p>i realized Log4jConfigListener is not exist in spring 5.x version </p>
  
  <p>I can use "log4j.xml"(default name) but i want to use custom name for sever,local environment</p>
  
  <p>how can i do?  </p>