title: How to set file name of FileAppender dynamically in log4j version 2?
body: <p>In log4j 1.x 
       we can directly use setFile method of FileAppender class</p>
  
  <p>In log4j 2.x
       There is no setFile method to FileAppender class....</p>
  
  <p>I want to statically initialize file name for an appender in log4j2.properties and then dynamically change the file name of that appender at run time.</p>
  
  <p>How to acheive this?</p>