title: Log4j: How to configure simplest possible file logging?
body: <p><b>My story:</b></p>
  
  <p>I want to make a thing which is as simple as a  simplest possible log4j logger that logs rows to a file. I have found several examples with some functionality, but not a basic, general one that really works, and not one with an explanation how the each row work.</p>
  
  <p><b>Question:</b></p>
  
  <p>Could anybody provide one?</p>
  
  <p><b>Prerequisites:</b></p>
  
  <blockquote>
    <ul>
    <li>I already know where to put the file and I have the log4j configured and working for console logging.<BR/></li>
    <li>Now I want to log to a file and also find the file from file system once the program has run.<BR/></li>
    <li>Rows needed to be added to the existing <code>log4j.properties</code> file are the desired output.</li>
    </ul>
  </blockquote>