title: log4j reset properties back to original as in log4j.properties file
body: <p>In my application, I defined log4j.properites as follows</p>
  
  <pre><code>log4j.appender.email=org.apache.log4j.net.SMTPAppender
  log4j.appender.email.Subject=email Notification
  </code></pre>
  
  <p>later in the program i am dynamically changing the subject to </p>
  
  <pre><code>Properties prop = new Properties();
  prop.setProperty("log4j.appender.email.Subject", "Test Completed");
  </code></pre>
  
  <p>After I use this variable, I wan to reset this back to original on file. so I did this</p>
  
  <pre><code>LogManager.resetConfiguration();
  PropertyConfigurator.configure(prop);
  </code></pre>
  
  <p>But, later in the code whenever I use this subject property it is giving its value as 'Test Completed'. Any suggestion to reset configuration is greatly appreciated. Thanks</p>