title: Custom Spark stderr or stdout console logs into a local file or hdfs
body: <p>Custom Spark stderr or stdout console logs into a local file or hdfs making the log4j.properties is not working.</p>
  <p>Wanted to edit the yarn_site.xml to redirect the logs that didn't work.</p>