From 5bdb9e972e97c93a8cd13e05151e1f246c96ac53 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Wed, 26 Jul 2017 11:45:49 -0700 Subject: [PATCH] Add httpStatic log statement on start up --- red/runtime/index.js | 3 +++ red/runtime/locales/en-US/runtime.json | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/red/runtime/index.js b/red/runtime/index.js index 0b3f3a6bf..47ff205f7 100644 --- a/red/runtime/index.js +++ b/red/runtime/index.js @@ -155,6 +155,9 @@ function start() { if (settings.settingsFile) { log.info(log._("runtime.paths.settings",{path:settings.settingsFile})); } + if (settings.httpStatic) { + log.info(log._("runtime.paths.httpStatic",{path:path.resolve(settings.httpStatic)})); + } redNodes.loadFlows().then(redNodes.startFlows); started = true; }).otherwise(function(err) { diff --git a/red/runtime/locales/en-US/runtime.json b/red/runtime/locales/en-US/runtime.json index 37d0d7a6c..37c82dc14 100644 --- a/red/runtime/locales/en-US/runtime.json +++ b/red/runtime/locales/en-US/runtime.json @@ -4,7 +4,8 @@ "version": "__component__ version: __version__", "unsupported_version": "Unsupported version of __component__. Requires: __requires__ Found: __version__", "paths": { - "settings": "Settings file : __path__" + "settings": "Settings file : __path__", + "httpStatic": "HTTP Static : __path__" } },