title: How to stop Node.js from printing data to console?
body: <p>I have this Code in node</p>
  
  <pre><code>var io = require('socket.io'), connect = require('connect');
  
  var pg = require('pg');
  
  var connectionString = "Some connection string";  
  
  var app = connect().use(connect.static('public')).listen(3000);
  var chat_room = io.listen(app);
  var DataArrayRows=[];
  
  setInterval(function(){
         pg.connect(connectionString, function(err, client, done) {
          client.query('select * from jctsl_get_all_notifications_v1()', function(err, result) {
              DataArrayRows=result.rows;
              done();
          });
         });
  },10000);
  
  chat_room.sockets.on('connection',function(socket){
    chat_room.sockets.emit('entrance',{message:DataArrayRows}); 
    setInterval(function(){
        chat_room.sockets.emit('entrance',{message:DataArrayRows});   
    },10000);    
  });
  </code></pre>
  
  <p>In the code, I've not written any <code>console.log()</code> statement but still on every request to database, the returned rows are displayed on the console window. </p>
  
  <p>How can I stop node from doing that?</p>
  
  <p><img src="https://i.stack.imgur.com/4q8tM.png" alt="enter image description here"></p>