title: How to surpress "Code Generated" and "Cleaned Accumulator" messages in Spark
body: <p>I wrote a spark job. The job ran fine without any problems. However when I look at my error log file, I see so many messages of type</p>
  
  <pre><code>[error] 18/11/25 17:28:14 INFO CodeGenerator: Code 
  generated in 16.947005 ms
  </code></pre>
  
  <p>and </p>
  
  <pre><code>[error] 18/11/25 17:28:15 INFO ContextCleaner: Cleaned
  accumulator 239819
  </code></pre>
  
  <p>and </p>
  
  <pre><code>[error] 18/11/25 17:28:06 INFO BlockManagerInfo: Removed 
  broadcast_13354_piece0 on 192.168.2.101:43753 in memory 
  (size: 20.5 KB, free: 6.2 GB)
  </code></pre>
  
  <p>Is there any way to suppress these messages. they are just bloating up my log file.</p>
  
  <p>Not sure why spark is reporting these as error. when they look like some kind of debug messages.</p>