diff --git a/sdl-mgr/app/index.js b/sdl-mgr/app/index.js index 7cc9cdf..a81d329 100644 --- a/sdl-mgr/app/index.js +++ b/sdl-mgr/app/index.js @@ -11,7 +11,7 @@ const config = load_config(); log('======================================================================================='); log(config.package.name + ': STARTING: ' + config.package.description + ' v' + config.package.version); // log(JSON.stringify(config, null, 2)); -log(JSON.stringify(config.dirs, null, 2), false); +// log(JSON.stringify(config.dirs, null, 2), false); for (let m in config.modules) { // log(`Loading module: ${m}`); diff --git a/sdl-mgr/app/modules/mqtt/index.js b/sdl-mgr/app/modules/mqtt/index.js index 1c2b0d9..497a3cd 100644 --- a/sdl-mgr/app/modules/mqtt/index.js +++ b/sdl-mgr/app/modules/mqtt/index.js @@ -88,6 +88,6 @@ broker.on('publish', (packet, client) => { // console.log( // `Publish from ${client.id}: ${packet.topic}` // ); - log(`${module}: Publish from ${client.id}: ${packet.topic}`); + // log(`${module}: Publish from ${client.id}: ${packet.topic}`); } }); diff --git a/sdl-mgr/app/modules/sdl-mgr/index.js b/sdl-mgr/app/modules/sdl-mgr/index.js index f1d98ba..df07199 100644 --- a/sdl-mgr/app/modules/sdl-mgr/index.js +++ b/sdl-mgr/app/modules/sdl-mgr/index.js @@ -282,7 +282,7 @@ function startJoinHandler() { if (err) { log(`${module}: failed to publish join authz: ${err}`); } else { - log(`${module}: published join authz to ${joinAuthzTopic}`); + // log(`${module}: published join authz to ${joinAuthzTopic}`); } } ); @@ -372,7 +372,7 @@ function publishStatus(client, topic) { if (err) { log(`${module}: failed to publish status: ${err}`); } else { - log(`${module}: published status to ${topic}`); + // log(`${module}: published status to ${topic}`); } } ); @@ -412,7 +412,7 @@ function startUdpBeacon() { desc: '' }; - log(`${module}: DEBUG: cluster: ${JSON.stringify(cluster)}`); + log(`${module}: cluster: ${JSON.stringify(cluster)}`); if (!config.host?.network) { diff --git a/sdl-mgr/conf/modules/sdl-mgr.json b/sdl-mgr/conf/modules/sdl-mgr.json index 6222d93..5124e4d 100644 --- a/sdl-mgr/conf/modules/sdl-mgr.json +++ b/sdl-mgr/conf/modules/sdl-mgr.json @@ -9,6 +9,7 @@ }, "expiration_timeout": { "cluster_status": 60000, - "cluster_workers": 60000 + "cluster_workers": 60000, + "cluster_telemetry": 60000 } } \ No newline at end of file diff --git a/sdl-wkr/app/index.js b/sdl-wkr/app/index.js index e37d307..a81d329 100644 --- a/sdl-wkr/app/index.js +++ b/sdl-wkr/app/index.js @@ -10,7 +10,7 @@ const config = load_config(); log('======================================================================================='); log(config.package.name + ': STARTING: ' + config.package.description + ' v' + config.package.version); -log(JSON.stringify(config, null, 2)); +// log(JSON.stringify(config, null, 2)); // log(JSON.stringify(config.dirs, null, 2), false); for (let m in config.modules) {