title: Disable QML console.log() messages
body: <p>We are tunning the final release of our application, and we successfully disable the debug messages in c++. </p>
  
  <pre><code>CONFIG(release, debug|release):{
      message(Building in release mode. We deactivate the logs.)
      DEFINES += QT_NO_DEBUG_OUTPUT
  } else {
      message(Building in debug mode.)
  }
  </code></pre>
  
  <p>But, our QML javascript console.log() functions are still logging the information.</p>
  
  <p>I also found <a href="http://doc.qt.io/qt-5/qtquick-debugging.html#log" rel="nofollow">this source</a> that clearly states: 
  <strong><em>The output is generated using the qDebug, qWarning, qCritical methods in C++ (see also Debugging Techniques).</em></strong></p>
  
  <p>What doesnt make much sense to me, since Im already ignoring all the qDebugs()</p>
  
  <p>So, the question is: 
  <strong>How to ignore all the console.log() ?</strong> </p>
  
  <p>I just think it should be an easy task, similar to the qDebug() messages.</p>
  
  <p>For any further information, please leave a comment.</p>
  
  <p>Note: I know that the link is for Qt 5., but im using Qt 4.8.</p>
  
  <p>Thanks in advance!</p>