aboutsummaryrefslogtreecommitdiffstats
path: root/deployment-handler.js
diff options
context:
space:
mode:
Diffstat (limited to 'deployment-handler.js')
-rw-r--r--deployment-handler.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/deployment-handler.js b/deployment-handler.js
index 02a0750..edbf84e 100644
--- a/deployment-handler.js
+++ b/deployment-handler.js
@@ -26,6 +26,7 @@ const http = require('http');
const https = require('https');
const express = require('express');
const conf = require('./lib/config');
+const utils = require("./lib/utils");
const createError = require('./lib/dispatcher-error').createDispatcherError;
/* Paths for API routes */
@@ -77,8 +78,8 @@ const start = function(config) {
};
process.mainModule.exports.config = config;
- log.info(null, "Configuration: " + JSON.stringify(config));
- console.log( (new Date()) + ": Configuration: " + JSON.stringify(config, undefined, 2) );
+ log.info(null, "Configuration: " + JSON.stringify(config, utils.hideSecrets));
+ console.log((new Date()) + ": Configuration: " + JSON.stringify(config, utils.hideSecrets, 2) );
set_app();