Commit 10f7dbe9 authored by José Gato Luis's avatar José Gato Luis
Browse files

reducing logs for socket.io

parent 2cd87cd6
Pipeline #7108 passed with stages
in 1 minute and 49 seconds
...@@ -54,12 +54,7 @@ if ((config.app.protocol != undefined) && (config.app.protocol == 'https')) { ...@@ -54,12 +54,7 @@ if ((config.app.protocol != undefined) && (config.app.protocol == 'https')) {
} else } else
var server = require('http').createServer(server_options, app); var server = require('http').createServer(server_options, app);
var io = require('socket.io'); var io = require('socket.io').listen(server, { log: false });
io = io.listen(server);
io.set('heartbeats', false); //removes heartbeats
io.set('log level', 1);
var brokerManager = undefined; var brokerManager = undefined;
var dbAEON = undefined; var dbAEON = undefined;
var dbLogs = undefined; var dbLogs = undefined;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment