title: JVM argument to write system out stream to file
body: <p>I am working with mission critical applications. I would like to know what JVM argument I have to pass in order pump <code>out</code> and <code>err</code> stream into a file.</p>
  
  <p>I have <code>log4j</code> as part of my application by using <code>slf4j</code> framework. Is there a way this can be achieved with <code>log4j</code>.</p>