1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

log readOnly on startup

This commit is contained in:
Sam Machin 2021-06-16 10:10:31 +01:00
parent b73efe6bb4
commit bd3a8db438
2 changed files with 5 additions and 1 deletions

View File

@ -202,6 +202,9 @@ function start() {
if (settings.settingsFile) { if (settings.settingsFile) {
log.info(log._("runtime.paths.settings",{path:settings.settingsFile})); log.info(log._("runtime.paths.settings",{path:settings.settingsFile}));
} }
if (settings.readOnly){
log.info(log._("settings.readonly-mode"))
}
if (settings.httpStatic) { if (settings.httpStatic) {
log.info(log._("runtime.paths.httpStatic",{path:path.resolve(settings.httpStatic)})); log.info(log._("runtime.paths.httpStatic",{path:path.resolve(settings.httpStatic)}));
} }

View File

@ -87,7 +87,8 @@
"settings": { "settings": {
"user-not-available": "Cannot save user settings: __message__", "user-not-available": "Cannot save user settings: __message__",
"not-available": "Settings not available", "not-available": "Settings not available",
"property-read-only": "Property '__prop__' is read-only" "property-read-only": "Property '__prop__' is read-only",
"readonly-mode" : "Settings readOnly is true"
}, },
"library": { "library": {
"unknownLibrary": "Unknown library: __library__", "unknownLibrary": "Unknown library: __library__",