title: How to disable logging in neo4j-ogm
body: <p>I understand that the question can sound a little funny, but how do I disable logging in neo4j-ogm? I have added an logback.xml file to my conf directory which is in my classpath. The logback.xml looks as follows:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;configuration&gt;    
      &lt;!--
        ~ Set the required log level for the OGM components here.
        ~ To just see Cypher statements set the level to "info"
        ~ For finer-grained diagnostics, set the level to "debug".
      --&gt;
      &lt;logger name="org.neo4j.ogm" level="OFF" /&gt;
  
      &lt;root level="off"&gt;
                  &lt;appender-ref ref="console" /&gt;
      &lt;/root&gt;
  
  &lt;/configuration&gt;
  </code></pre>
  
  <p>which is taken from <a href="http://neo4j.com/docs/ogm/java/stable/" rel="nofollow">here</a> . The loglevel=off is taken from <a href="http://www.tutorialspoint.com/log4j/log4j_logging_levels.htm" rel="nofollow">here</a></p>
  
  <p>I want to deploy my program for production and I need logs from console. But with neo4j logging the logfile increases 1GB per day with the following type logs:</p>
  
  <pre><code>14:20:13.281 [Thread-14] DEBUG o.n.o.d.http.request.HttpRequest - Response is OK
  14:20:13.289 [Thread-14] DEBUG org.neo4j.ogm.MetaData - looking for concrete class to resolve label: Leaf
  14:20:13.289 [Thread-14] DEBUG org.neo4j.ogm.MetaData - concrete class found: com.mycompany.Leaf. comparing with what's already been found previously...
  14:20:13.289 [Thread-14] DEBUG org.neo4j.ogm.MetaData - Page resolving class:  com.mycompany.Leaf
  14:20:13.290 [Thread-14] DEBUG org.neo4j.ogm.MetaData - looking for concrete class to resolve label: Root
  etc...
  </code></pre>
  
  <p>Details:</p>
  
  <p>The program is a jsvc daemon which logs console to log/log.txt.</p>
  
  <p>neo4j-version: 2.0.0 - M01</p>
  
  <p>java -version : oracle java 7</p>