title: Disabling Spring log, to have readable logs
body: <p>How can I disable Spring logs to have log outputs that I can easily read or someone else can read.
  An answer to a similar question at, <a href="https://stackoverflow.com/questions/2076592/how-to-disable-spring-bean-loading-log">how to disable spring bean loading log</a> suggested to comment out all lines having <code>org.springframework</code> <code>substring</code> in <code>log4j.properties</code> <code>file</code>. In my case there no such lines. </p>
  
  <p>Here is <code>log4j.properties</code> </p>
  
  <pre><code># Define the root logger with appender file
  log4j.rootLogger = DEBUG, stdout
  
  # Define the file appender
  log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  # Set the name of the logs destination
  log4j.appender.stdout.target=System.out
  
  # Set the immediate flush to true (default)
  log4j.appender.stdout.ImmediateFlush=true
  
  # Set the threshold to debug mode
  log4j.appender.stdout.Threshold=debug
  
  # Set the append to false, overwrite
  log4j.appender.stdout.Append=false
  
  # Define the layout for appender
  log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  log4j.appender.stdout.layout.conversionPattern=%d{yyyy-MM-dd}:%m%n 
  </code></pre>